Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 212.2 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.611/1.611, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1878/0.1878, allocations: 38.54 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 64.19 kB / 492.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3267, allocations: 62.46 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.006441/0.3332, allocations: 3.991 MB / 0.5458 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3352, allocations: 0.8663 MB / 0.5467 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.3354, allocations: 19.88 kB / 0.5467 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.3356, allocations: 52.69 kB / 0.5468 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000608/0.3362, allocations: 180.1 kB / 0.5469 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.3365, allocations: 87.94 kB / 0.547 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005784/0.3371, allocations: 407.3 kB / 0.5474 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.3373, allocations: 74.69 kB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/0.3378, allocations: 198.5 kB / 0.5477 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.3382, allocations: 204 kB / 0.5479 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.3383, allocations: 21.69 kB / 0.5479 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-05/0.3383, allocations: 20 kB / 0.5479 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.3385, allocations: 111.4 kB / 0.548 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.3387, allocations: 123.4 kB / 0.5481 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.3392, allocations: 312.5 kB / 0.5484 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3392, allocations: 0 / 0.5484 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3392, allocations: 8.969 kB / 0.5484 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.3392, allocations: 0 / 0.5484 GB, free: 11.4 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001314/0.3406, allocations: 0.5605 MB / 0.549 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.3406, allocations: 13.11 kB / 0.549 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.039e-05/0.3407, allocations: 63.12 kB / 0.549 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.79e-05/0.3408, allocations: 36.09 kB / 0.5491 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/0.3414, allocations: 279.9 kB / 0.5493 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.3414, allocations: 18.34 kB / 0.5494 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.3414, allocations: 34.05 kB / 0.5494 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.342, allocations: 315 kB / 0.5497 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.342, allocations: 1.5 kB / 0.5497 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.342, allocations: 5.469 kB / 0.5497 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.342, allocations: 6.812 kB / 0.5497 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.3424, allocations: 219 kB / 0.5499 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.3444, allocations: 1.264 MB / 0.5512 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.3448, allocations: 131.5 kB / 0.5513 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.345, allocations: 61.84 kB / 0.5513 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.345, allocations: 6.234 kB / 0.5513 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.345, allocations: 32.84 kB / 0.5514 GB, free: 8.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.345, allocations: 0 / 0.5514 GB, free: 8.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008626/0.3459, allocations: 369.7 kB / 0.5517 GB, free: 8.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.346, allocations: 82.27 kB / 0.5518 GB, free: 8.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.3462, allocations: 270 kB / 0.5521 GB, free: 8.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.3463, allocations: 27.14 kB / 0.5521 GB, free: 8.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.3464, allocations: 205.1 kB / 0.5523 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.3465, allocations: 50.56 kB / 0.5523 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.3466, allocations: 49.45 kB / 0.5524 GB, free: 8.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3468, allocations: 344 kB / 0.5527 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3469, allocations: 57.09 kB / 0.5528 GB, free: 7.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.3471, allocations: 144.9 kB / 0.5529 GB, free: 7.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.3474, allocations: 235.4 kB / 0.5531 GB, free: 7.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3474, allocations: 1.094 kB / 0.5531 GB, free: 7.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004088/0.3478, allocations: 238.3 kB / 0.5534 GB, free: 7.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3478, allocations: 6.562 kB / 0.5534 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3478, allocations: 7.703 kB / 0.5534 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.3478, allocations: 12.34 kB / 0.5534 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.348, allocations: 48.95 kB / 0.5534 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.3481, allocations: 12.48 kB / 0.5534 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3482, allocations: 4.125 kB / 0.5534 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.3482, allocations: 17.12 kB / 0.5535 GB, free: 7.227 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001847/0.3484, allocations: 159.9 kB / 0.5536 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.3485, allocations: 27.62 kB / 0.5536 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.3488, allocations: 199.2 kB / 0.5538 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3488, allocations: 2.344 kB / 0.5538 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3488, allocations: 4.969 kB / 0.5538 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3488, allocations: 3.984 kB / 0.5538 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007772/0.3496, allocations: 0.5039 MB / 0.5543 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3496, allocations: 1.219 kB / 0.5543 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.3498, allocations: 30.36 kB / 0.5544 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3498, allocations: 1.25 kB / 0.5544 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3498, allocations: 10.45 kB / 0.5544 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3498, allocations: 5.062 kB / 0.5544 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3498, allocations: 5 kB / 0.5544 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.3502, allocations: 294.8 kB / 0.5547 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.3503, allocations: 27.61 kB / 0.5547 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.3503, allocations: 6.094 kB / 0.5547 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.3504, allocations: 5.031 kB / 0.5547 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.3505, allocations: 25.23 kB / 0.5547 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3505, allocations: 4.219 kB / 0.5547 GB, free: 6.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.3507, allocations: 184.7 kB / 0.5549 GB, free: 6.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3507, allocations: 0 / 0.5549 GB, free: 6.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000441/0.3511, allocations: 48.31 kB / 0.555 GB, free: 6.086 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007036/0.3518, allocations: 0.8253 MB / 0.5558 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.3521, allocations: 157.1 kB / 0.5559 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3521, allocations: 3.938 kB / 0.5559 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3522, allocations: 65.7 kB / 0.556 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.3527, allocations: 56.06 kB / 0.556 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.3561, allocations: 2.555 MB / 0.5585 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.3563, allocations: 182.1 kB / 0.5587 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.3565, allocations: 38.27 kB / 0.5587 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3566, allocations: 95.39 kB / 0.5588 GB, free: 2.297 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3566, allocations: 0 / 0.5588 GB, free: 2.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03774/0.3943, allocations: 5.653 MB / 0.5643 GB, free: 12.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.71, allocations: 0 / 0.5643 GB, free: 12.8 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.776116637978703] Failed to read output from testmodel.py, exit status != 0: 11.817932032980025 11.834505668 11.491854866 Calling exit ...