Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001909/0.001909, 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.002088/0.002088, allocations: 208.7 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1874/0.1874, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.PowerWorld.Test.CityTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_CityTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.CityTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_CityTest",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.002123/0.002123, allocations: 72.12 kB / 492.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3027, allocations: 62.48 MB / 0.5419 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005365/0.308, allocations: 3.607 MB / 0.5455 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003235/0.3113, allocations: 1.824 MB / 0.5472 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.3114, allocations: 9.125 kB / 0.5473 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008146/0.3123, allocations: 231.1 kB / 0.5475 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007297/0.313, allocations: 308 kB / 0.5478 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.3134, allocations: 178.7 kB / 0.5479 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005367/0.314, allocations: 457.1 kB / 0.5484 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.3143, allocations: 165 kB / 0.5485 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005054/0.3148, allocations: 200.8 kB / 0.5487 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.3152, allocations: 192 kB / 0.5489 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.3153, allocations: 29.91 kB / 0.5489 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005935/0.3159, allocations: 328.3 kB / 0.5492 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.3161, allocations: 117.2 kB / 0.5494 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.3162, allocations: 132.8 kB / 0.5495 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008599/0.3171, allocations: 0.5762 MB / 0.55 GB, free: 10.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3171, allocations: 1.125 kB / 0.55 GB, free: 10.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3171, allocations: 0 / 0.55 GB, free: 10.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.3171, allocations: 0 / 0.55 GB, free: 10.42 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.001123/0.3182, allocations: 0.5799 MB / 0.5506 GB, free: 9.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3183, allocations: 14.55 kB / 0.5506 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.471e-05/0.3184, allocations: 62.03 kB / 0.5507 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007754/0.3191, allocations: 94.59 kB / 0.5508 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.3197, allocations: 295.7 kB / 0.5511 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.3197, allocations: 20.58 kB / 0.5511 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.3197, allocations: 19.62 kB / 0.5511 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.3204, allocations: 398 kB / 0.5515 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3204, allocations: 1.281 kB / 0.5515 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.3204, allocations: 6.969 kB / 0.5515 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.3204, allocations: 16.02 kB / 0.5515 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007252/0.3212, allocations: 445 kB / 0.5519 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.3232, allocations: 1.389 MB / 0.5533 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007278/0.3239, allocations: 341.4 kB / 0.5536 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.3241, allocations: 107.3 kB / 0.5537 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3242, allocations: 7.438 kB / 0.5537 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004302/0.3246, allocations: 221.9 kB / 0.5539 GB, free: 7.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.894e-06/0.3246, allocations: 0 / 0.5539 GB, free: 7.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008353/0.3254, allocations: 430.8 kB / 0.5543 GB, free: 7.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/0.3255, allocations: 141 kB / 0.5545 GB, free: 7.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/0.3259, allocations: 348 kB / 0.5548 GB, free: 6.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.326, allocations: 37.3 kB / 0.5548 GB, free: 6.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.3261, allocations: 183.8 kB / 0.555 GB, free: 6.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/0.3262, allocations: 80.72 kB / 0.5551 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.3263, allocations: 69.58 kB / 0.5552 GB, free: 6.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3265, allocations: 339.6 kB / 0.5555 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.3267, allocations: 109.9 kB / 0.5556 GB, free: 6.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.327, allocations: 226.6 kB / 0.5558 GB, free: 5.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.3275, allocations: 323.5 kB / 0.5561 GB, free: 5.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3275, allocations: 4 kB / 0.5561 GB, free: 5.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006668/0.3281, allocations: 383.9 kB / 0.5565 GB, free: 5.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3282, allocations: 4.312 kB / 0.5565 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.3282, allocations: 11.98 kB / 0.5565 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3282, allocations: 4 kB / 0.5565 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.3285, allocations: 63.91 kB / 0.5566 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3285, allocations: 11.88 kB / 0.5566 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.3287, allocations: 31.77 kB / 0.5566 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.3287, allocations: 12 kB / 0.5566 GB, free: 5.02 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.0002107/0.3289, allocations: 175.8 kB / 0.5568 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.329, allocations: 43.73 kB / 0.5568 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007485/0.3297, allocations: 408.1 kB / 0.5572 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.3297, allocations: 4 kB / 0.5572 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.3297, allocations: 7.922 kB / 0.5572 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3297, allocations: 0 / 0.5572 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.331, allocations: 0.7868 MB / 0.558 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.331, allocations: 0 / 0.558 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.3312, allocations: 59.91 kB / 0.5581 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.3312, allocations: 7.938 kB / 0.5581 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.3312, allocations: 8 kB / 0.5581 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3312, allocations: 4 kB / 0.5581 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3312, allocations: 8 kB / 0.5581 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007113/0.332, allocations: 484 kB / 0.5585 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.332, allocations: 39.73 kB / 0.5586 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/0.3321, allocations: 19.89 kB / 0.5586 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.3322, allocations: 8 kB / 0.5586 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.3323, allocations: 19.95 kB / 0.5586 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.3323, allocations: 16 kB / 0.5586 GB, free: 2.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002965/0.3326, allocations: 259 kB / 0.5589 GB, free: 2.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3326, allocations: 0 / 0.5589 GB, free: 2.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004319/0.3331, allocations: 95.81 kB / 0.559 GB, free: 2.52 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 (34): * Single equations (assignments): 31 * 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.002835/0.3359, allocations: 1.476 MB / 0.5604 GB, free: 1.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.3365, allocations: 275.7 kB / 0.5607 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3365, allocations: 0 / 0.5607 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.3367, allocations: 143.8 kB / 0.5608 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.3372, allocations: 61.09 kB / 0.5609 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.3416, allocations: 3.264 MB / 0.5641 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3418, allocations: 193 kB / 0.5642 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002359/0.3421, allocations: 86.88 kB / 0.5643 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.3423, allocations: 115.4 kB / 0.5644 GB, free: 12.94 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3423, allocations: 0 / 0.5644 GB, free: 12.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.378, allocations: 8.671 MB / 0.5729 GB, free: 4.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12, allocations: 11.75 kB / 0.5729 GB, free: 4.309 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_CityTest_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_CityTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.81567669287324] Failed to read output from testmodel.py, exit status != 0: 12.16808867501095 12.197291498 11.874724598 Calling exit ...