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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.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.1868/0.1868, allocations: 38.5 MB / 342.5 MB, free: 8.094 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 64.61 kB / 478.6 MB, free: 33.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.1013, allocations: 61.25 MB / 0.5272 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005071/0.1064, allocations: 3.472 MB / 0.5306 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.1086, allocations: 1.527 MB / 0.5321 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1087, allocations: 7.938 kB / 0.5321 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008321/0.1095, allocations: 274.5 kB / 0.5323 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000608/0.1102, allocations: 279 kB / 0.5326 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1105, allocations: 131.6 kB / 0.5327 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.1109, allocations: 339 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.1111, allocations: 109.9 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.1114, allocations: 151.4 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1116, allocations: 163.4 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1116, allocations: 15.94 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005077/0.1122, allocations: 343.2 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1123, allocations: 95.75 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1124, allocations: 107.5 kB / 0.534 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004896/0.1129, allocations: 358.7 kB / 0.5343 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1129, allocations: 0 / 0.5343 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1129, allocations: 3.938 kB / 0.5343 GB, free: 10.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1129, allocations: 0 / 0.5343 GB, free: 10.15 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.0006849/0.1136, allocations: 0.5177 MB / 0.5349 GB, free: 9.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1136, allocations: 11.89 kB / 0.5349 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.921e-05/0.1137, allocations: 58.72 kB / 0.5349 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/0.1146, allocations: 104.7 kB / 0.535 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.115, allocations: 271.3 kB / 0.5353 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.115, allocations: 12.38 kB / 0.5353 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.1151, allocations: 27.92 kB / 0.5353 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.1156, allocations: 326.3 kB / 0.5356 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1156, allocations: 0 / 0.5356 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.1156, allocations: 8 kB / 0.5356 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.1157, allocations: 12 kB / 0.5356 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.1162, allocations: 303.7 kB / 0.5359 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.118, allocations: 1.293 MB / 0.5372 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.1183, allocations: 194.5 kB / 0.5374 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.1184, allocations: 41.75 kB / 0.5374 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1184, allocations: 4 kB / 0.5374 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1184, allocations: 30.56 kB / 0.5375 GB, free: 6.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.512e-06/0.1184, allocations: 0 / 0.5375 GB, free: 6.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003139/0.1187, allocations: 149.4 kB / 0.5376 GB, free: 6.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.1188, allocations: 81.11 kB / 0.5377 GB, free: 6.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.119, allocations: 219.7 kB / 0.5379 GB, free: 6.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.119, allocations: 25.7 kB / 0.5379 GB, free: 6.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1192, allocations: 167.9 kB / 0.5381 GB, free: 6.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1192, allocations: 35.73 kB / 0.5381 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/0.1193, allocations: 41.66 kB / 0.5381 GB, free: 5.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1195, allocations: 331 kB / 0.5385 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.1196, allocations: 43.97 kB / 0.5385 GB, free: 5.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1197, allocations: 135.7 kB / 0.5386 GB, free: 5.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.12, allocations: 196.6 kB / 0.5388 GB, free: 5.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.12, allocations: 0 / 0.5388 GB, free: 5.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003211/0.1203, allocations: 209.2 kB / 0.539 GB, free: 4.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1203, allocations: 4 kB / 0.539 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1203, allocations: 7.938 kB / 0.539 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1203, allocations: 4 kB / 0.539 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1205, allocations: 44.41 kB / 0.5391 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.1205, allocations: 16 kB / 0.5391 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.1206, allocations: 24.31 kB / 0.5391 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.1206, allocations: 12 kB / 0.5391 GB, free: 4.828 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.0001541/0.1208, allocations: 157.6 kB / 0.5393 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.1208, allocations: 15.91 kB / 0.5393 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.121, allocations: 122.9 kB / 0.5394 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.121, allocations: 7.938 kB / 0.5394 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1211, allocations: 0 / 0.5394 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1211, allocations: 12.02 kB / 0.5394 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007839/0.1218, allocations: 0.5722 MB / 0.54 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1218, allocations: 0 / 0.54 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.1219, allocations: 23.98 kB / 0.54 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.1219, allocations: 7.938 kB / 0.54 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1219, allocations: 4 kB / 0.54 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-06/0.122, allocations: 7.938 kB / 0.54 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.122, allocations: 4 kB / 0.54 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1222, allocations: 280.1 kB / 0.5403 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.1223, allocations: 101 kB / 0.5404 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.1223, allocations: 11.92 kB / 0.5404 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.1225, allocations: 8 kB / 0.5404 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.1225, allocations: 11.98 kB / 0.5404 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/0.1225, allocations: 4 kB / 0.5404 GB, free: 3.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.1226, allocations: 157.4 kB / 0.5406 GB, free: 3.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1226, allocations: 7.938 kB / 0.5406 GB, free: 3.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003431/0.123, allocations: 51.89 kB / 0.5406 GB, free: 3.113 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.00058/0.1236, allocations: 0.8105 MB / 0.5414 GB, free: 2.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.1238, allocations: 119.7 kB / 0.5415 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1238, allocations: 0 / 0.5415 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.353e-05/0.1239, allocations: 41.3 kB / 0.5416 GB, free: 2.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1243, allocations: 35.97 kB / 0.5416 GB, free: 2.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.1268, allocations: 2.325 MB / 0.5439 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.1272, allocations: 0.7593 MB / 0.5446 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.1273, allocations: 41.45 kB / 0.5447 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.1274, allocations: 55.42 kB / 0.5447 GB, free: 14.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1274, allocations: 0 / 0.5447 GB, free: 14.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.1514, allocations: 3.401 MB / 0.548 GB, free: 11.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.136, allocations: 3.938 kB / 0.548 GB, free: 11.29 MB / 414.1 MB " [Timeout remaining time 652] (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: 10.906335041858256] Failed to read output from testmodel.py, exit status != 0: 8.207164666615427 8.229775836 8.11261258 Calling exit ...