Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.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.001646/0.001646, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.002172/0.002172, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2078/0.2078, allocations: 38.53 MB / 353.2 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 master/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.PowerWorld.Test.CityTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_CityTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.CityTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_CityTest",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.002536/0.002536, allocations: 63.91 kB / 493.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3215, allocations: 62.47 MB / 0.5428 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.00683/0.3283, allocations: 3.768 MB / 0.5464 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004051/0.3323, allocations: 1.992 MB / 0.5484 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/0.3326, allocations: 13.38 kB / 0.5484 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.3337, allocations: 230 kB / 0.5486 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009739/0.3346, allocations: 318.5 kB / 0.5489 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.3352, allocations: 182.8 kB / 0.5491 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007706/0.336, allocations: 452.8 kB / 0.5495 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004523/0.3365, allocations: 157.1 kB / 0.5497 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006975/0.3372, allocations: 212.2 kB / 0.5499 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.3376, allocations: 195.6 kB / 0.5501 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.97e-05/0.3377, allocations: 31.72 kB / 0.5501 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009367/0.3386, allocations: 379.4 kB / 0.5505 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.3389, allocations: 116.9 kB / 0.5506 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.3391, allocations: 159.5 kB / 0.5507 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.3403, allocations: 0.5643 MB / 0.5513 GB, free: 9.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3404, allocations: 0 / 0.5513 GB, free: 9.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3404, allocations: 0 / 0.5513 GB, free: 9.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.3404, allocations: 1.125 kB / 0.5513 GB, free: 9.984 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001376/0.3418, allocations: 0.5887 MB / 0.5518 GB, free: 9.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3418, allocations: 13.64 kB / 0.5519 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.067e-05/0.3418, allocations: 5.531 kB / 0.5519 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.552e-05/0.3419, allocations: 58.22 kB / 0.5519 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008655/0.3428, allocations: 90.03 kB / 0.552 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006494/0.3434, allocations: 324 kB / 0.5523 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.3435, allocations: 20.64 kB / 0.5523 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.3435, allocations: 20.12 kB / 0.5524 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.3442, allocations: 348.8 kB / 0.5527 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3442, allocations: 0.9688 kB / 0.5527 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.3442, allocations: 18.67 kB / 0.5527 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.3443, allocations: 15.86 kB / 0.5527 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/0.345, allocations: 389.9 kB / 0.5531 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.3472, allocations: 1.505 MB / 0.5546 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.3479, allocations: 301.5 kB / 0.5549 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.3481, allocations: 101.8 kB / 0.5549 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.3481, allocations: 13.16 kB / 0.555 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.3485, allocations: 195.9 kB / 0.5551 GB, free: 6.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.564e-06/0.3485, allocations: 4 kB / 0.5552 GB, free: 6.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008608/0.3493, allocations: 383.9 kB / 0.5555 GB, free: 6.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3494, allocations: 138.9 kB / 0.5556 GB, free: 6.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.3498, allocations: 313 kB / 0.5559 GB, free: 6.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.3499, allocations: 32.02 kB / 0.556 GB, free: 6.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.35, allocations: 177.5 kB / 0.5561 GB, free: 6.145 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/0.3501, allocations: 88.17 kB / 0.5562 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.3502, allocations: 64.41 kB / 0.5563 GB, free: 6.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3504, allocations: 343.7 kB / 0.5566 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.3506, allocations: 95.92 kB / 0.5567 GB, free: 5.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.3509, allocations: 183.4 kB / 0.5569 GB, free: 5.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.3513, allocations: 301.6 kB / 0.5572 GB, free: 5.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3513, allocations: 1.094 kB / 0.5572 GB, free: 5.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006507/0.352, allocations: 361.3 kB / 0.5575 GB, free: 5.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.352, allocations: 4 kB / 0.5575 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.352, allocations: 4 kB / 0.5575 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.352, allocations: 4 kB / 0.5575 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.3523, allocations: 63.91 kB / 0.5576 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.3523, allocations: 15.86 kB / 0.5576 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.3525, allocations: 27.78 kB / 0.5576 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.3525, allocations: 12 kB / 0.5576 GB, free: 4.891 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.city.data.nextTimeEvent,$whenCondition1,city.data.nextTimeEventScaled,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEvent,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002067/0.3528, allocations: 177.8 kB / 0.5578 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.3528, allocations: 31.81 kB / 0.5578 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000684/0.3535, allocations: 348 kB / 0.5582 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3535, allocations: 0 / 0.5582 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.3535, allocations: 7.938 kB / 0.5582 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3535, allocations: 0 / 0.5582 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.3546, allocations: 0.7219 MB / 0.5589 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3546, allocations: 0 / 0.5589 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.3548, allocations: 51.86 kB / 0.5589 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.3548, allocations: 0 / 0.5589 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.3548, allocations: 11.98 kB / 0.559 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3548, allocations: 0 / 0.559 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3549, allocations: 4 kB / 0.559 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.3555, allocations: 404.9 kB / 0.5593 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.3556, allocations: 47.62 kB / 0.5594 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.3556, allocations: 8 kB / 0.5594 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.3557, allocations: 7.984 kB / 0.5594 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.3558, allocations: 15.97 kB / 0.5594 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.3558, allocations: 12 kB / 0.5594 GB, free: 2.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002755/0.3561, allocations: 227 kB / 0.5596 GB, free: 2.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3561, allocations: 0 / 0.5596 GB, free: 2.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004975/0.3566, allocations: 91.77 kB / 0.5597 GB, free: 2.664 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,$whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of discrete states: 2 (city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.002745/0.3594, allocations: 1.358 MB / 0.5611 GB, free: 1.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005422/0.3599, allocations: 244.1 kB / 0.5613 GB, free: 1.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3599, allocations: 4.062 kB / 0.5613 GB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3601, allocations: 110.9 kB / 0.5614 GB, free: 1.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.3606, allocations: 59.58 kB / 0.5615 GB, free: 1.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.3651, allocations: 3.114 MB / 0.5645 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.3655, allocations: 0.7913 MB / 0.5653 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.3658, allocations: 86.89 kB / 0.5654 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.366, allocations: 107.4 kB / 0.5655 GB, free: 12.79 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.366, allocations: 3.938 kB / 0.5655 GB, free: 12.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.3973, allocations: 7.778 MB / 0.5731 GB, free: 5.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.26, allocations: 15.19 kB / 0.5731 GB, free: 5.055 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_CityTest_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_CityTest.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.25742405303754] Failed to read output from testmodel.py, exit status != 0: 12.487890165997669 12.504533515 12.160813578 Calling exit ...