Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.0009501/0.0009501, allocations: 91.61 kB / 20.77 MB, free: 3.75 MB / 18.57 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.0009001/0.0009001, allocations: 162 kB / 24.06 MB, free: 476 kB / 18.57 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 0.8717/0.8717, allocations: 177.1 MB / 204.4 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.205/0.205, allocations: 29.41 MB / 290.2 MB, free: 2.441 MB / 266.7 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.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 430.4 MB, free: 13.51 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.215e-05, allocations: 17.03 kB / 430.4 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003293/0.003316, allocations: 3.43 MB / 433.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.004758, allocations: 1.426 MB / 435.3 MB, free: 8.609 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.004899, allocations: 7.938 kB / 435.3 MB, free: 8.602 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007143/0.005613, allocations: 254.8 kB / 435.5 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000533/0.006146, allocations: 286.6 kB / 435.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.006423, allocations: 131.5 kB / 436 MB, free: 7.941 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.006768, allocations: 346.9 kB / 436.3 MB, free: 7.602 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.007004, allocations: 114.1 kB / 436.4 MB, free: 7.492 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.007322, allocations: 211.3 kB / 436.6 MB, free: 7.285 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.007525, allocations: 143.6 kB / 436.8 MB, free: 7.145 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.007547, allocations: 16 kB / 436.8 MB, free: 7.129 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.007912, allocations: 283 kB / 437 MB, free: 6.852 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.008013, allocations: 119.7 kB / 437.2 MB, free: 6.734 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.428e-05/0.008087, allocations: 71.84 kB / 437.2 MB, free: 6.664 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.008506, allocations: 374.8 kB / 437.6 MB, free: 6.297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.008511, allocations: 0 / 437.6 MB, free: 6.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.008512, allocations: 0 / 437.6 MB, free: 6.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.008517, allocations: 0 / 437.6 MB, free: 6.297 MB / 410.7 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.0005488/0.009066, allocations: 457 kB / 438 MB, free: 5.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.009107, allocations: 11.98 kB / 438.1 MB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.009148, allocations: 54.73 kB / 438.1 MB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005468/0.009695, allocations: 100.7 kB / 438.2 MB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.009947, allocations: 217.3 kB / 438.4 MB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.009961, allocations: 8.375 kB / 438.4 MB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.009997, allocations: 28.34 kB / 438.5 MB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.01036, allocations: 314.7 kB / 438.8 MB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.01037, allocations: 192 / 438.8 MB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.01039, allocations: 12.11 kB / 438.8 MB, free: 5.031 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.01042, allocations: 27.98 kB / 438.8 MB, free: 5.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.01071, allocations: 283.8 kB / 439.1 MB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.01183, allocations: 1.186 MB / 440.3 MB, free: 3.461 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.01215, allocations: 225 kB / 440.5 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.01224, allocations: 93.73 kB / 440.6 MB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.01226, allocations: 4 kB / 440.6 MB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.01228, allocations: 34.56 kB / 440.6 MB, free: 3.078 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.01228, allocations: 0 / 440.6 MB, free: 3.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005981/0.01288, allocations: 451 kB / 441.1 MB, free: 2.633 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.01292, allocations: 85.05 kB / 441.1 MB, free: 2.531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.01307, allocations: 198.2 kB / 441.3 MB, free: 2.324 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.01308, allocations: 33.7 kB / 441.4 MB, free: 2.285 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.01315, allocations: 160.2 kB / 441.5 MB, free: 2.125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.01319, allocations: 59.48 kB / 441.6 MB, free: 2.066 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.01324, allocations: 45.7 kB / 441.6 MB, free: 2.016 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.01332, allocations: 331 kB / 441.9 MB, free: 1.684 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/0.0134, allocations: 87.94 kB / 442 MB, free: 1.598 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.01352, allocations: 161.5 kB / 442.2 MB, free: 1.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.01387, allocations: 260.4 kB / 442.4 MB, free: 1.125 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01387, allocations: 7.938 kB / 442.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002802/0.01415, allocations: 293.2 kB / 442.7 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.01417, allocations: 4.625 kB / 442.7 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01417, allocations: 4 kB / 442.7 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.01419, allocations: 4 kB / 442.7 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.01435, allocations: 56.17 kB / 442.8 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.01436, allocations: 11.94 kB / 442.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-05/0.01445, allocations: 15.94 kB / 442.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.01447, allocations: 8 kB / 442.8 MB, free: 0.7227 MB / 410.7 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 (27): * Single equations (assignments): 27 * 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.0001093/0.01458, allocations: 157.8 kB / 443 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.01461, allocations: 15.91 kB / 443 MB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.01488, allocations: 230.9 kB / 443.2 MB, free: 316 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.01489, allocations: 11.88 kB / 443.2 MB, free: 304 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.0149, allocations: 3.938 kB / 443.2 MB, free: 300 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.0149, allocations: 0 / 443.2 MB, free: 300 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1614/0.1763, allocations: 0.8949 MB / 444.1 MB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1763, allocations: 3.125 kB / 444.1 MB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.1765, allocations: 40.47 kB / 444.2 MB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1765, allocations: 3.281 kB / 444.2 MB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1765, allocations: 9.594 kB / 444.2 MB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1765, allocations: 11.31 kB / 444.2 MB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/0.1765, allocations: 13.3 kB / 444.2 MB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.1768, allocations: 405 kB / 444.6 MB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.1768, allocations: 24.44 kB / 444.6 MB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.1768, allocations: 10.28 kB / 444.7 MB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1769, allocations: 13.64 kB / 444.7 MB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.1769, allocations: 27.41 kB / 444.7 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.177, allocations: 10.97 kB / 444.7 MB, free: 53.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.274e-05/0.177, allocations: 148.1 kB / 444.8 MB, free: 53.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.177, allocations: 3.375 kB / 444.9 MB, free: 53.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.1773, allocations: 52.97 kB / 444.9 MB, free: 53.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.000334/0.1776, allocations: 0.9373 MB / 445.8 MB, free: 52.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.1779, allocations: 215 kB / 446.1 MB, free: 52.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1779, allocations: 0 / 446.1 MB, free: 52.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.919e-05/0.1779, allocations: 99.25 kB / 446.1 MB, free: 52.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1783, allocations: 47.62 kB / 446.2 MB, free: 52.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.1801, allocations: 2.657 MB / 448.9 MB, free: 50.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.588e-05/0.1802, allocations: 153.7 kB / 449 MB, free: 50.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.839e-05/0.1803, allocations: 58.47 kB / 449.1 MB, free: 50.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.1803, allocations: 64.73 kB / 449.1 MB, free: 50.74 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1803, allocations: 3.812 kB / 449.1 MB, free: 50.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.1988, allocations: 4.868 MB / 454 MB, free: 49.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/7.303, allocations: 0.6562 kB / 454 MB, free: 49.65 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest_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_FixedCurrentTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.185277388431132] Failed to read output from testmodel.py, exit status != 0: 7.384026346728206 7.396325604 7.385297481 Calling exit ...