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.000772/0.000772, allocations: 88.33 kB / 20.96 MB, free: 3.469 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.0008034/0.0008034, allocations: 161.3 kB / 24.27 MB, free: 164 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.8745/0.8745, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.2029/0.2029, allocations: 29.42 MB / 290.5 MB, free: 2.438 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.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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.52e-05, allocations: 6.312 kB / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.00458/0.004596, allocations: 3.603 MB / 372 MB, free: 8.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002949/0.007544, allocations: 1.816 MB / 373.8 MB, free: 6.363 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.007739, allocations: 11.88 kB / 373.8 MB, free: 6.352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009226/0.008662, allocations: 238.8 kB / 374.1 MB, free: 6.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007566/0.009418, allocations: 306.5 kB / 374.4 MB, free: 5.816 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.009876, allocations: 183.2 kB / 374.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.01038, allocations: 466.6 kB / 375 MB, free: 5.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006077/0.01099, allocations: 166 kB / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005198/0.01151, allocations: 271.2 kB / 375.4 MB, free: 4.758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.01179, allocations: 170.8 kB / 375.6 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.01184, allocations: 28 kB / 375.6 MB, free: 4.566 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005089/0.01235, allocations: 331.1 kB / 375.9 MB, free: 4.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.01247, allocations: 131.6 kB / 376.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.01259, allocations: 99.75 kB / 376.2 MB, free: 4.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007237/0.01331, allocations: 0.5959 MB / 376.8 MB, free: 3.418 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01332, allocations: 0 / 376.8 MB, free: 3.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.01332, allocations: 4 kB / 376.8 MB, free: 3.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.01333, allocations: 0 / 376.8 MB, free: 3.414 MB / 346.7 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.000879/0.01421, allocations: 0.5826 MB / 377.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.01425, allocations: 11.98 kB / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.352e-05/0.01431, allocations: 54.73 kB / 377.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007707/0.01508, allocations: 136.5 kB / 377.5 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.01553, allocations: 300.6 kB / 377.8 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.01555, allocations: 16.75 kB / 377.9 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.01559, allocations: 20.31 kB / 377.9 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006098/0.0162, allocations: 403.1 kB / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.01622, allocations: 3.938 kB / 378.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.01625, allocations: 8 kB / 378.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.01628, allocations: 16.36 kB / 378.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006825/0.01697, allocations: 448.6 kB / 378.7 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.01874, allocations: 1.399 MB / 380.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006986/0.01944, allocations: 341 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.01964, allocations: 113.7 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.01966, allocations: 8 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.01999, allocations: 216.4 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.893e-06/0.01999, allocations: 0 / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.00081/0.0208, allocations: 436.6 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.02087, allocations: 136.5 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.02126, allocations: 352.5 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.02129, allocations: 29.7 kB / 381.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.02141, allocations: 188.3 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.02148, allocations: 83.64 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-05/0.02157, allocations: 61.97 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003367/0.02191, allocations: 338.8 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.02211, allocations: 112.4 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.02235, allocations: 224.9 kB / 382.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/0.0228, allocations: 329.2 kB / 383 MB, free: 12.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.0228, allocations: 0 / 383 MB, free: 12.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006133/0.02341, allocations: 403.8 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.02343, allocations: 4.312 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.02344, allocations: 8 kB / 383.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.02345, allocations: 4 kB / 383.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.0237, allocations: 63.89 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.02371, allocations: 7.938 kB / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.02384, allocations: 23.84 kB / 383.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.02387, allocations: 16 kB / 383.6 MB, free: 12.24 MB / 362.7 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.0001697/0.02404, allocations: 181.7 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.02411, allocations: 39.81 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006667/0.02478, allocations: 412 kB / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.02478, allocations: 4 kB / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.02479, allocations: 0 / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.02479, allocations: 0 / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.02583, allocations: 0.7945 MB / 385 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.02584, allocations: 7.984 kB / 385 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.02604, allocations: 55.92 kB / 385 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.02605, allocations: 4 kB / 385 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.02607, allocations: 11.98 kB / 385.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.02607, allocations: 0 / 385.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.02608, allocations: 11.94 kB / 385.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.02671, allocations: 499.4 kB / 385.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.02676, allocations: 35.75 kB / 385.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.02682, allocations: 8 kB / 385.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.02697, allocations: 11.98 kB / 385.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.02703, allocations: 27.89 kB / 385.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.02706, allocations: 16 kB / 385.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002563/0.02732, allocations: 255 kB / 385.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.02732, allocations: 0 / 385.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004364/0.02775, allocations: 103.8 kB / 386 MB, free: 9.703 MB / 362.7 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.001928/0.02968, allocations: 1.485 MB / 387.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004957/0.03018, allocations: 279.9 kB / 387.8 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.03018, allocations: 0 / 387.8 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.03041, allocations: 147.8 kB / 387.9 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.03086, allocations: 71.92 kB / 388 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.03513, allocations: 3.255 MB / 391.2 MB, free: 4.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.03531, allocations: 197 kB / 391.4 MB, free: 4.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.03551, allocations: 86.89 kB / 391.5 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.03572, allocations: 120.4 kB / 391.6 MB, free: 4.113 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.03572, allocations: 0 / 391.6 MB, free: 4.113 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.06, allocations: 8.99 MB / 400.6 MB, free: 11.23 MB / 378.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.12, allocations: 11.06 kB / 400.6 MB, free: 11.22 MB / 378.7 MB " [Timeout remaining time 650] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest_OMSimulator.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_OMSimulator_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_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 PowerSystems_PowerSystems_Examples_PowerWorld_Test_CityTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.952212393982336]