Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.001999/0.001999, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002451/0.002451, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.698/1.698, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1892/0.1892, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",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.002204/0.002204, allocations: 70.41 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3546, allocations: 62.47 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005733/0.3604, allocations: 3.43 MB / 0.5453 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.3629, allocations: 1.437 MB / 0.5467 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.3631, allocations: 9 kB / 0.5467 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008827/0.3639, allocations: 252.9 kB / 0.5469 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007203/0.3647, allocations: 286.7 kB / 0.5472 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.3651, allocations: 127.9 kB / 0.5473 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005845/0.3657, allocations: 335.8 kB / 0.5477 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.366, allocations: 115.2 kB / 0.5478 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.3664, allocations: 167.1 kB / 0.5479 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.3668, allocations: 148.1 kB / 0.5481 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.3669, allocations: 17.72 kB / 0.5481 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/0.3675, allocations: 281.8 kB / 0.5484 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.3676, allocations: 98.11 kB / 0.5484 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.3678, allocations: 86.41 kB / 0.5485 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.3685, allocations: 359.6 kB / 0.5489 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3685, allocations: 0 / 0.5489 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3685, allocations: 0 / 0.5489 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3685, allocations: 0 / 0.5489 GB, free: 11.08 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.0009032/0.3694, allocations: 455.7 kB / 0.5493 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.3694, allocations: 12.89 kB / 0.5493 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.3696, allocations: 62.38 kB / 0.5494 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.3706, allocations: 108.2 kB / 0.5495 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.3711, allocations: 210.5 kB / 0.5497 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.3711, allocations: 16.03 kB / 0.5497 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.3711, allocations: 19.84 kB / 0.5497 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.3717, allocations: 332.2 kB / 0.55 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3717, allocations: 1.25 kB / 0.55 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.3717, allocations: 6.031 kB / 0.55 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.3718, allocations: 15.48 kB / 0.5501 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.3723, allocations: 298 kB / 0.5503 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.3742, allocations: 1.199 MB / 0.5515 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.3745, allocations: 126.2 kB / 0.5516 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.3746, allocations: 36.2 kB / 0.5517 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.3746, allocations: 2.531 kB / 0.5517 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.3747, allocations: 37.03 kB / 0.5517 GB, free: 8.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/0.3747, allocations: 0 / 0.5517 GB, free: 8.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003372/0.375, allocations: 144.8 kB / 0.5518 GB, free: 8.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.3751, allocations: 79.23 kB / 0.5519 GB, free: 8.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.3753, allocations: 218.2 kB / 0.5521 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3753, allocations: 29.83 kB / 0.5522 GB, free: 8.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3755, allocations: 173.1 kB / 0.5523 GB, free: 8.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.3755, allocations: 39.98 kB / 0.5524 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.3756, allocations: 45.23 kB / 0.5524 GB, free: 8.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3757, allocations: 327.5 kB / 0.5527 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.3758, allocations: 37.39 kB / 0.5527 GB, free: 7.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.376, allocations: 140.6 kB / 0.5529 GB, free: 7.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.3762, allocations: 194.5 kB / 0.5531 GB, free: 7.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3762, allocations: 1.125 kB / 0.5531 GB, free: 7.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003249/0.3765, allocations: 202.1 kB / 0.5533 GB, free: 7.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.3766, allocations: 14.77 kB / 0.5533 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3766, allocations: 3.5 kB / 0.5533 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.3766, allocations: 4.688 kB / 0.5533 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.3768, allocations: 40.42 kB / 0.5533 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3768, allocations: 8.469 kB / 0.5533 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.3769, allocations: 36.08 kB / 0.5534 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.3769, allocations: 8.5 kB / 0.5534 GB, free: 7.332 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 (23): * Single equations (assignments): 23 * 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.0001702/0.3771, allocations: 157.8 kB / 0.5535 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.3772, allocations: 24.19 kB / 0.5535 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.3774, allocations: 125.7 kB / 0.5537 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3774, allocations: 1.156 kB / 0.5537 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3774, allocations: 1.25 kB / 0.5537 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3774, allocations: 1.094 kB / 0.5537 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008403/0.3783, allocations: 0.5328 MB / 0.5542 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3783, allocations: 2.438 kB / 0.5542 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.3784, allocations: 19.33 kB / 0.5542 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.3784, allocations: 7.312 kB / 0.5542 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3784, allocations: 8.594 kB / 0.5542 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3784, allocations: 10.16 kB / 0.5542 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3784, allocations: 3.781 kB / 0.5542 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.3787, allocations: 282.8 kB / 0.5545 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.3787, allocations: 24.39 kB / 0.5545 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.3788, allocations: 8.375 kB / 0.5545 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3789, allocations: 3.219 kB / 0.5545 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.3789, allocations: 14.17 kB / 0.5546 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3789, allocations: 5.375 kB / 0.5546 GB, free: 6.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.3791, allocations: 156.3 kB / 0.5547 GB, free: 6.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3791, allocations: 0 / 0.5547 GB, free: 6.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000362/0.3794, allocations: 52.86 kB / 0.5548 GB, free: 6.168 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * 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.000583/0.38, allocations: 0.8201 MB / 0.5556 GB, free: 5.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.3803, allocations: 114.1 kB / 0.5557 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.3803, allocations: 2.312 kB / 0.5557 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.3803, allocations: 43.45 kB / 0.5557 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.3808, allocations: 34.02 kB / 0.5557 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.3837, allocations: 2.324 MB / 0.558 GB, free: 2.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.3838, allocations: 140.2 kB / 0.5581 GB, free: 2.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.384, allocations: 37.61 kB / 0.5582 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.3841, allocations: 63.41 kB / 0.5582 GB, free: 2.742 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3841, allocations: 3.938 kB / 0.5582 GB, free: 2.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.4174, allocations: 3.905 MB / 0.5621 GB, free: 14.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.58, allocations: 7.375 kB / 0.5621 GB, free: 14.95 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.616986328735948] Failed to read output from testmodel.py, exit status != 0: 11.693344770930707 11.72094274 11.347283761 Calling exit ...