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.001337/0.001337, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001461/0.001461, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.501/1.501, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.1991/0.1991, allocations: 38.51 MB / 348.7 MB, free: 2.609 MB / 270.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.00198/0.00198, allocations: 63.91 kB / 487.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1128, allocations: 62.41 MB / 0.5367 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005341/0.1181, allocations: 3.512 MB / 0.5401 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.1206, allocations: 1.582 MB / 0.5416 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1207, allocations: 7.938 kB / 0.5416 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008372/0.1215, allocations: 262.8 kB / 0.5419 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000672/0.1222, allocations: 286.9 kB / 0.5422 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.1226, allocations: 123.6 kB / 0.5423 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000476/0.1231, allocations: 350.9 kB / 0.5426 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.1233, allocations: 117.7 kB / 0.5427 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.1237, allocations: 155.4 kB / 0.5429 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.1239, allocations: 171.4 kB / 0.543 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.124, allocations: 16 kB / 0.5431 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005541/0.1245, allocations: 331.2 kB / 0.5434 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1246, allocations: 107.7 kB / 0.5435 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1248, allocations: 107.5 kB / 0.5436 GB, free: 484 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.1253, allocations: 366.7 kB / 0.5439 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1253, allocations: 0 / 0.5439 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1253, allocations: 0 / 0.5439 GB, free: 116 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1253, allocations: 0 / 0.5439 GB, free: 116 kB / 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.0007908/0.1261, allocations: 0.5137 MB / 0.5444 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1261, allocations: 12.03 kB / 0.5444 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.1262, allocations: 58.72 kB / 0.5445 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.1272, allocations: 100.7 kB / 0.5446 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.1276, allocations: 275.8 kB / 0.5448 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.1277, allocations: 24.34 kB / 0.5449 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.1277, allocations: 16.38 kB / 0.5449 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.1283, allocations: 337.7 kB / 0.5452 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1283, allocations: 0 / 0.5452 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.1283, allocations: 7.938 kB / 0.5452 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.1284, allocations: 23.98 kB / 0.5452 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.1289, allocations: 311.7 kB / 0.5455 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.1308, allocations: 1.248 MB / 0.5468 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.1311, allocations: 153 kB / 0.5469 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.1313, allocations: 93.73 kB / 0.547 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.1313, allocations: 7.938 kB / 0.547 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1313, allocations: 34.55 kB / 0.547 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.304e-06/0.1313, allocations: 0 / 0.547 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.001746/0.1331, allocations: 0.6616 MB / 0.5477 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.1331, allocations: 89.17 kB / 0.5478 GB, free: 11.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.1334, allocations: 194.2 kB / 0.5479 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.1334, allocations: 29.69 kB / 0.548 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1335, allocations: 160.2 kB / 0.5481 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.1336, allocations: 59.48 kB / 0.5482 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.1337, allocations: 49.66 kB / 0.5482 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1338, allocations: 322.8 kB / 0.5485 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.134, allocations: 87.94 kB / 0.5486 GB, free: 10.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.1342, allocations: 161 kB / 0.5488 GB, free: 10.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.1346, allocations: 252.4 kB / 0.549 GB, free: 10.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.1346, allocations: 4 kB / 0.549 GB, free: 10.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007128/0.1353, allocations: 356.9 kB / 0.5494 GB, free: 10.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1353, allocations: 4 kB / 0.5494 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1354, allocations: 4 kB / 0.5494 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/0.1358, allocations: 89.06 kB / 0.5495 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.136, allocations: 43.91 kB / 0.5495 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.1389, allocations: 2.158 MB / 0.5516 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.1391, allocations: 19.92 kB / 0.5516 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1391, allocations: 8 kB / 0.5516 GB, free: 7.68 MB / 414.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.0001851/0.1393, allocations: 165.6 kB / 0.5518 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.1394, allocations: 23.86 kB / 0.5518 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007008/0.1401, allocations: 318.6 kB / 0.5521 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1401, allocations: 128 / 0.5521 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.1401, allocations: 11.98 kB / 0.5521 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1401, allocations: 0 / 0.5521 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.1414, allocations: 0.7426 MB / 0.5529 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1414, allocations: 0 / 0.5529 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.1415, allocations: 23.98 kB / 0.5529 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003217/0.1418, allocations: 84.84 kB / 0.553 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.1418, allocations: 3.938 kB / 0.553 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/0.1442, allocations: 2.041 MB / 0.555 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1442, allocations: 0 / 0.555 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.1449, allocations: 409.3 kB / 0.5553 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/0.145, allocations: 100.9 kB / 0.5554 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.145, allocations: 8 kB / 0.5554 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1452, allocations: 12.12 kB / 0.5555 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.1452, allocations: 19.97 kB / 0.5555 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1452, allocations: 4 kB / 0.5555 GB, free: 3.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1454, allocations: 144.2 kB / 0.5556 GB, free: 3.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1454, allocations: 0 / 0.5556 GB, free: 3.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.1459, allocations: 68 kB / 0.5557 GB, free: 3.258 MB / 414.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.001065/0.147, allocations: 0.937 MB / 0.5566 GB, free: 2.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008108/0.1478, allocations: 382.1 kB / 0.557 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1478, allocations: 0 / 0.557 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.1482, allocations: 247.2 kB / 0.5572 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.1486, allocations: 36.05 kB / 0.5572 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.1524, allocations: 2.634 MB / 0.5598 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.1528, allocations: 0.7634 MB / 0.5606 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.153, allocations: 45.55 kB / 0.5606 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1531, allocations: 63.34 kB / 0.5607 GB, free: 13.91 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1531, allocations: 0 / 0.5607 GB, free: 13.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.1873, allocations: 5.381 MB / 0.5659 GB, free: 8.641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.07, allocations: 4.375 kB / 0.5659 GB, free: 8.637 MB / 430.1 MB " [Timeout remaining time 648] (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: 15.125257970008533] Failed to read output from testmodel.py, exit status != 0: 12.169233781998628 12.197167813 12.066663814 Calling exit ...