Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.0013/0.0013, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001448/0.001448, allocations: 214.9 kB / 23.72 MB, free: 4.531 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1877/0.1877, allocations: 38.55 MB / 352.5 MB, free: 12.43 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.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.002049/0.002049, allocations: 67.91 kB / 492.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.325, allocations: 62.45 MB / 0.5419 GB, free: 276 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.00495/0.33, allocations: 3.452 MB / 0.5453 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.3324, allocations: 1.455 MB / 0.5467 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.3325, allocations: 8.656 kB / 0.5467 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008682/0.3334, allocations: 248.5 kB / 0.547 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006768/0.3341, allocations: 287.3 kB / 0.5472 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.3344, allocations: 128.1 kB / 0.5474 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.3348, allocations: 347.3 kB / 0.5477 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.3351, allocations: 115.7 kB / 0.5478 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.3354, allocations: 172 kB / 0.548 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.3356, allocations: 166.2 kB / 0.5481 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.3357, allocations: 14.28 kB / 0.5481 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004727/0.3361, allocations: 284.2 kB / 0.5484 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.3363, allocations: 101.1 kB / 0.5485 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3364, allocations: 89.89 kB / 0.5486 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.3369, allocations: 362.1 kB / 0.5489 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3369, allocations: 0 / 0.5489 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3369, allocations: 1.156 kB / 0.5489 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3369, allocations: 0 / 0.5489 GB, free: 11.04 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007014/0.3376, allocations: 452.2 kB / 0.5494 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3376, allocations: 13.86 kB / 0.5494 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.324e-05/0.3377, allocations: 58.12 kB / 0.5494 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009437/0.3386, allocations: 106.5 kB / 0.5495 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.339, allocations: 217.4 kB / 0.5497 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.339, allocations: 11.72 kB / 0.5498 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.3391, allocations: 19.69 kB / 0.5498 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.3396, allocations: 334.4 kB / 0.5501 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3396, allocations: 1.094 kB / 0.5501 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.3397, allocations: 14.17 kB / 0.5501 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/0.3397, allocations: 17.27 kB / 0.5501 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.3402, allocations: 311 kB / 0.5504 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.342, allocations: 1.173 MB / 0.5516 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.3422, allocations: 152.4 kB / 0.5517 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.3424, allocations: 97.78 kB / 0.5518 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3424, allocations: 2.25 kB / 0.5518 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3424, allocations: 37.97 kB / 0.5518 GB, free: 8.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.3424, allocations: 0 / 0.5518 GB, free: 8.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.00154/0.344, allocations: 0.5904 MB / 0.5524 GB, free: 8.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.344, allocations: 84.39 kB / 0.5525 GB, free: 8.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3442, allocations: 197.3 kB / 0.5527 GB, free: 8.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3443, allocations: 26.98 kB / 0.5527 GB, free: 8.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3444, allocations: 155 kB / 0.5529 GB, free: 7.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.3444, allocations: 64.25 kB / 0.5529 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.3445, allocations: 46.86 kB / 0.553 GB, free: 7.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3447, allocations: 327.5 kB / 0.5533 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3448, allocations: 90.28 kB / 0.5534 GB, free: 7.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.345, allocations: 149.6 kB / 0.5535 GB, free: 7.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.3454, allocations: 261.7 kB / 0.5538 GB, free: 7.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3454, allocations: 5.156 kB / 0.5538 GB, free: 7.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000641/0.346, allocations: 342.5 kB / 0.5541 GB, free: 7.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.346, allocations: 6.531 kB / 0.5541 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.346, allocations: 2.156 kB / 0.5541 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.3464, allocations: 93.28 kB / 0.5542 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.3466, allocations: 44.12 kB / 0.5542 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.3492, allocations: 2.048 MB / 0.5562 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.3493, allocations: 14.73 kB / 0.5562 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.3493, allocations: 11.81 kB / 0.5563 GB, free: 5.137 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.3495, allocations: 157.2 kB / 0.5564 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.3496, allocations: 15.56 kB / 0.5564 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006248/0.3502, allocations: 322.4 kB / 0.5567 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3502, allocations: 3.984 kB / 0.5567 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.3502, allocations: 0 / 0.5567 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.3502, allocations: 4 kB / 0.5567 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.3514, allocations: 0.6948 MB / 0.5574 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3514, allocations: 128 / 0.5574 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.3515, allocations: 27.98 kB / 0.5574 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/0.3518, allocations: 76.78 kB / 0.5575 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.3518, allocations: 8 kB / 0.5575 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.3541, allocations: 1.922 MB / 0.5594 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3541, allocations: 8.094 kB / 0.5594 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/0.3548, allocations: 410.5 kB / 0.5598 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.3548, allocations: 23.84 kB / 0.5598 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.3548, allocations: 8 kB / 0.5598 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.355, allocations: 11.98 kB / 0.5598 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.355, allocations: 11.97 kB / 0.5599 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.355, allocations: 8 kB / 0.5599 GB, free: 1.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.3552, allocations: 143.1 kB / 0.56 GB, free: 1.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3552, allocations: 0 / 0.56 GB, free: 1.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004685/0.3556, allocations: 72 kB / 0.5601 GB, free: 1.039 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009157/0.3565, allocations: 0.9391 MB / 0.561 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007592/0.3573, allocations: 374.6 kB / 0.5613 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.3573, allocations: 4 kB / 0.5613 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004042/0.3577, allocations: 246.4 kB / 0.5616 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3581, allocations: 45.7 kB / 0.5616 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.3616, allocations: 2.627 MB / 0.5642 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.3618, allocations: 160.4 kB / 0.5643 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.3619, allocations: 41.61 kB / 0.5644 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.362, allocations: 67.34 kB / 0.5644 GB, free: 12.32 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.362, allocations: 0 / 0.5644 GB, free: 12.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.3979, allocations: 5.869 MB / 0.5702 GB, free: 6.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.23, allocations: 8.047 kB / 0.5702 GB, free: 6.57 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.154905105999205] Failed to read output from testmodel.py, exit status != 0: 13.347640444990247 13.371373663 13.029971512 Calling exit ...