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.001844/0.001844, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002081/0.002081, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.661/1.661, allocations: 230.6 MB / 258.3 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.2338/0.2338, allocations: 38.53 MB / 353.2 MB, free: 12.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="cs",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.002098/0.002098, allocations: 71.89 kB / 493.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3503, allocations: 62.47 MB / 0.5428 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005131/0.3554, allocations: 3.569 MB / 0.5463 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.3577, allocations: 1.581 MB / 0.5478 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.3579, allocations: 9.406 kB / 0.5478 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008607/0.3587, allocations: 266.1 kB / 0.5481 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006249/0.3593, allocations: 287.1 kB / 0.5483 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.3597, allocations: 128.1 kB / 0.5485 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.3602, allocations: 332.2 kB / 0.5488 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.3604, allocations: 122.9 kB / 0.5489 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.3607, allocations: 155.6 kB / 0.549 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.361, allocations: 168.4 kB / 0.5492 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.361, allocations: 16.47 kB / 0.5492 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005637/0.3616, allocations: 338.7 kB / 0.5495 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.3617, allocations: 109.5 kB / 0.5496 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.3619, allocations: 105.3 kB / 0.5497 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.3625, allocations: 349.2 kB / 0.5501 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3625, allocations: 0 / 0.5501 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3625, allocations: 5.281 kB / 0.5501 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.3625, allocations: 0 / 0.5501 GB, free: 10.89 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.0007728/0.3633, allocations: 454.6 kB / 0.5505 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3633, allocations: 18.08 kB / 0.5505 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.14e-05/0.3633, allocations: 8.219 kB / 0.5505 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.85e-05/0.3634, allocations: 54.98 kB / 0.5506 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.3645, allocations: 103.2 kB / 0.5507 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.3649, allocations: 206.9 kB / 0.5509 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.3649, allocations: 19.84 kB / 0.5509 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.365, allocations: 18.72 kB / 0.5509 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006832/0.3657, allocations: 328 kB / 0.5512 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3657, allocations: 0 / 0.5512 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.3657, allocations: 6.5 kB / 0.5512 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/0.3658, allocations: 15.72 kB / 0.5513 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.3663, allocations: 307.9 kB / 0.5516 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.3683, allocations: 1.246 MB / 0.5528 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.3687, allocations: 117.9 kB / 0.5529 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.3687, allocations: 49 kB / 0.5529 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.3688, allocations: 1.156 kB / 0.5529 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.3688, allocations: 35.72 kB / 0.553 GB, free: 8.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.774e-06/0.3688, allocations: 1.406 kB / 0.553 GB, free: 8.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000361/0.3692, allocations: 140.2 kB / 0.5531 GB, free: 8.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.3692, allocations: 79.27 kB / 0.5532 GB, free: 8.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.3694, allocations: 221.2 kB / 0.5534 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3695, allocations: 25.7 kB / 0.5534 GB, free: 8.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3696, allocations: 173.2 kB / 0.5536 GB, free: 7.992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.3696, allocations: 36.75 kB / 0.5536 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.3697, allocations: 47.97 kB / 0.5537 GB, free: 7.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3699, allocations: 327.3 kB / 0.554 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.3699, allocations: 41.75 kB / 0.554 GB, free: 7.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.3701, allocations: 133.9 kB / 0.5541 GB, free: 7.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.3703, allocations: 192.9 kB / 0.5543 GB, free: 7.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3703, allocations: 1.25 kB / 0.5543 GB, free: 7.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003334/0.3707, allocations: 214.5 kB / 0.5545 GB, free: 7.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3707, allocations: 8.469 kB / 0.5545 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3707, allocations: 2.938 kB / 0.5545 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3707, allocations: 5.781 kB / 0.5545 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.3709, allocations: 48.03 kB / 0.5546 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.3709, allocations: 8.641 kB / 0.5546 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.371, allocations: 20.02 kB / 0.5546 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.3711, allocations: 9 kB / 0.5546 GB, free: 7.098 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.0001892/0.3712, allocations: 164.8 kB / 0.5548 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.3713, allocations: 19.14 kB / 0.5548 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.3715, allocations: 126.3 kB / 0.5549 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3715, allocations: 2.25 kB / 0.5549 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3715, allocations: 4 kB / 0.5549 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3715, allocations: 5.141 kB / 0.5549 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/0.3724, allocations: 0.5396 MB / 0.5555 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3724, allocations: 2.312 kB / 0.5555 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.3724, allocations: 23.61 kB / 0.5555 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3725, allocations: 11.38 kB / 0.5555 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3725, allocations: 4.844 kB / 0.5555 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3725, allocations: 2.312 kB / 0.5555 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3725, allocations: 7.438 kB / 0.5555 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.3728, allocations: 283 kB / 0.5558 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.3728, allocations: 23.59 kB / 0.5558 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.3728, allocations: 8.156 kB / 0.5558 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.373, allocations: 11.58 kB / 0.5558 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.373, allocations: 12.45 kB / 0.5558 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.373, allocations: 9.562 kB / 0.5558 GB, free: 6.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.3731, allocations: 148.8 kB / 0.556 GB, free: 5.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3731, allocations: 0 / 0.556 GB, free: 5.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.3735, allocations: 52.89 kB / 0.556 GB, free: 5.906 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.0005879/0.3741, allocations: 0.8146 MB / 0.5568 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.3743, allocations: 119.4 kB / 0.5569 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3743, allocations: 0 / 0.5569 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.3744, allocations: 44.52 kB / 0.557 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3748, allocations: 31.47 kB / 0.557 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.378, allocations: 2.321 MB / 0.5593 GB, free: 2.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.3784, allocations: 0.7632 MB / 0.56 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.3785, allocations: 37.64 kB / 0.5601 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.3786, allocations: 59.42 kB / 0.5601 GB, free: 1.93 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3786, allocations: 0 / 0.5601 GB, free: 1.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.4018, allocations: 3.633 MB / 0.5637 GB, free: 14.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.59, allocations: 15.36 kB / 0.5637 GB, free: 14.41 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.739226359000895] Failed to read output from testmodel.py, exit status != 0: 11.747824094025418 11.764378357 11.398535318 Calling exit ...