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.001307/0.001307, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001443/0.001443, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1952/0.1952, allocations: 38.52 MB / 352.4 MB, free: 12.54 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.002115/0.002115, allocations: 68.12 kB / 492.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3258, allocations: 62.48 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005065/0.3309, allocations: 3.592 MB / 0.5455 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.3333, allocations: 1.591 MB / 0.5471 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3334, allocations: 8.562 kB / 0.5471 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.3342, allocations: 267.6 kB / 0.5473 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006409/0.3349, allocations: 291 kB / 0.5476 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.3352, allocations: 119.1 kB / 0.5477 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000478/0.3357, allocations: 348.1 kB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.336, allocations: 118.9 kB / 0.5482 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.3364, allocations: 164.5 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.3367, allocations: 171.1 kB / 0.5485 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.3367, allocations: 14.38 kB / 0.5485 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005606/0.3373, allocations: 336.4 kB / 0.5488 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3374, allocations: 102.6 kB / 0.5489 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.3375, allocations: 113.9 kB / 0.549 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.338, allocations: 362.6 kB / 0.5494 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.338, allocations: 0 / 0.5494 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.338, allocations: 1.344 kB / 0.5494 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.3381, allocations: 0 / 0.5494 GB, free: 10.82 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.0007372/0.3388, allocations: 456.4 kB / 0.5498 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3388, allocations: 12.86 kB / 0.5498 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.942e-05/0.3389, allocations: 58.67 kB / 0.5499 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.3399, allocations: 101.5 kB / 0.55 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.3403, allocations: 215 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.3403, allocations: 14.72 kB / 0.5502 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.3403, allocations: 20 kB / 0.5502 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.3409, allocations: 333.1 kB / 0.5505 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3409, allocations: 0.9688 kB / 0.5505 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.3409, allocations: 6.469 kB / 0.5505 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.3409, allocations: 21.67 kB / 0.5506 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.3414, allocations: 312.5 kB / 0.5509 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.3432, allocations: 1.22 MB / 0.552 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.3435, allocations: 157.2 kB / 0.5522 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.3436, allocations: 93.8 kB / 0.5523 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3437, allocations: 6.297 kB / 0.5523 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3437, allocations: 39.66 kB / 0.5523 GB, free: 8.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.3437, allocations: 0 / 0.5523 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001522/0.3452, allocations: 0.59 MB / 0.5529 GB, free: 8.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.3453, allocations: 83.52 kB / 0.553 GB, free: 8.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3455, allocations: 192.6 kB / 0.5532 GB, free: 7.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3455, allocations: 26.89 kB / 0.5532 GB, free: 7.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3456, allocations: 160.1 kB / 0.5533 GB, free: 7.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.766e-05/0.3457, allocations: 63.28 kB / 0.5534 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.3458, allocations: 54.81 kB / 0.5535 GB, free: 7.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3459, allocations: 327.9 kB / 0.5538 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.346, allocations: 77.48 kB / 0.5538 GB, free: 7.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.3462, allocations: 159.2 kB / 0.554 GB, free: 7.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.3466, allocations: 256.5 kB / 0.5542 GB, free: 6.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3466, allocations: 1.156 kB / 0.5542 GB, free: 6.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006366/0.3472, allocations: 346 kB / 0.5546 GB, free: 6.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3472, allocations: 6.656 kB / 0.5546 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3472, allocations: 6.281 kB / 0.5546 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/0.3476, allocations: 88.28 kB / 0.5547 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.3478, allocations: 45.5 kB / 0.5547 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.3504, allocations: 2.055 MB / 0.5567 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3505, allocations: 13.83 kB / 0.5567 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.3506, allocations: 11.53 kB / 0.5567 GB, free: 4.855 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.0001752/0.3507, allocations: 165.6 kB / 0.5569 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.3508, allocations: 15.91 kB / 0.5569 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006584/0.3514, allocations: 321.2 kB / 0.5572 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3514, allocations: 4 kB / 0.5572 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3514, allocations: 4 kB / 0.5572 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3514, allocations: 0 / 0.5572 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.3527, allocations: 0.7066 MB / 0.5579 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3527, allocations: 4.062 kB / 0.5579 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.3529, allocations: 27.98 kB / 0.5579 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002766/0.3531, allocations: 76.78 kB / 0.558 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.3532, allocations: 11.92 kB / 0.558 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.3554, allocations: 1.933 MB / 0.5599 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3554, allocations: 0 / 0.5599 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.3561, allocations: 410.8 kB / 0.5603 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.3562, allocations: 27.78 kB / 0.5603 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.3562, allocations: 12 kB / 0.5604 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3564, allocations: 4 kB / 0.5604 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.3564, allocations: 15.97 kB / 0.5604 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.3564, allocations: 8 kB / 0.5604 GB, free: 1.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.3566, allocations: 139.1 kB / 0.5605 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3566, allocations: 4 kB / 0.5605 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005195/0.3571, allocations: 67.94 kB / 0.5606 GB, free: 0.8125 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.001009/0.3581, allocations: 0.9492 MB / 0.5615 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008219/0.3589, allocations: 373.2 kB / 0.5619 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3589, allocations: 4.562 kB / 0.5619 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.3593, allocations: 250.5 kB / 0.5621 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3597, allocations: 38.73 kB / 0.5621 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.3633, allocations: 2.637 MB / 0.5647 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.3637, allocations: 0.7712 MB / 0.5655 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.3638, allocations: 29.62 kB / 0.5655 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.364, allocations: 75.34 kB / 0.5656 GB, free: 11.46 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.364, allocations: 0 / 0.5656 GB, free: 11.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.3984, allocations: 5.587 MB / 0.571 GB, free: 5.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.21, allocations: 6.469 kB / 0.571 GB, free: 5.977 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.098249085000134] Failed to read output from testmodel.py, exit status != 0: 13.329430218997004 13.346796354 13.005255043 Calling exit ...