Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.001691/0.001691, allocations: 114 kB / 19.74 MB, free: 1.996 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.002222/0.002222, allocations: 223.1 kB / 23.05 MB, free: 4.988 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04152/0.04152, allocations: 6.136 MB / 319.4 MB, free: 12.9 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.92 kB / 444.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1148, allocations: 55.02 MB / 499.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.005688/0.1205, allocations: 3.771 MB / 0.4915 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003614/0.1241, allocations: 1.999 MB / 0.4935 GB, free: 8.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005211/0.1246, allocations: 8 kB / 0.4935 GB, free: 8.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007276/0.1253, allocations: 226.6 kB / 0.4937 GB, free: 8.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.1265, allocations: 377.6 kB / 0.494 GB, free: 7.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.1295, allocations: 1.321 MB / 0.4953 GB, free: 6.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001599/0.1311, allocations: 0.7697 MB / 0.4961 GB, free: 5.695 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000455/0.1315, allocations: 170.1 kB / 0.4962 GB, free: 5.523 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.1322, allocations: 334.7 kB / 0.4966 GB, free: 5.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008637/0.1331, allocations: 426.1 kB / 0.497 GB, free: 4.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.1333, allocations: 60 kB / 0.497 GB, free: 4.719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008264/0.1341, allocations: 303.8 kB / 0.4973 GB, free: 4.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.1343, allocations: 163.3 kB / 0.4975 GB, free: 4.262 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004898/0.1348, allocations: 370.2 kB / 0.4978 GB, free: 3.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.1362, allocations: 0.9378 MB / 0.4987 GB, free: 2.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.1362, allocations: 4 kB / 0.4987 GB, free: 2.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1362, allocations: 0 / 0.4987 GB, free: 2.953 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3e-05/0.1363, allocations: 0 / 0.4987 GB, free: 2.953 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00889/0.1452, allocations: 2.068 MB / 0.5008 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1452, allocations: 15.97 kB / 0.5008 GB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.1454, allocations: 94.7 kB / 0.5009 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.1455, allocations: 84.47 kB / 0.501 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007606/0.1463, allocations: 424.2 kB / 0.5014 GB, free: 212 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.1463, allocations: 45.38 kB / 0.5014 GB, free: 168 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1464, allocations: 60.38 kB / 0.5015 GB, free: 108 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.1479, allocations: 0.8586 MB / 0.5023 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1479, allocations: 3.938 kB / 0.5023 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.148, allocations: 20 kB / 0.5023 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.148, allocations: 12 kB / 0.5023 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.1493, allocations: 0.8083 MB / 0.5031 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004549/0.1539, allocations: 2.624 MB / 0.5057 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.1556, allocations: 0.965 MB / 0.5066 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008798/0.1565, allocations: 0.5192 MB / 0.5071 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.1566, allocations: 20.97 kB / 0.5072 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.129e-05/0.1567, allocations: 47.56 kB / 0.5072 GB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.537e-06/0.1567, allocations: 0 / 0.5072 GB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.01533/0.172, allocations: 3.854 MB / 0.511 GB, free: 6.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.421e-05/0.1721, allocations: 119.8 kB / 0.5111 GB, free: 6.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/0.1727, allocations: 425.7 kB / 0.5115 GB, free: 5.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.1729, allocations: 53.69 kB / 0.5115 GB, free: 5.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.1731, allocations: 225.8 kB / 0.5117 GB, free: 5.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.1735, allocations: 317.2 kB / 0.512 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/0.1738, allocations: 178.6 kB / 0.5122 GB, free: 4.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.174, allocations: 374.8 kB / 0.5126 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.175, allocations: 0.5447 MB / 0.5131 GB, free: 3.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.176, allocations: 0.6224 MB / 0.5137 GB, free: 3.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.178, allocations: 1.224 MB / 0.5149 GB, free: 2.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.178, allocations: 0 / 0.5149 GB, free: 2.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.2095/0.3876, allocations: 2.342 MB / 0.5172 GB, free: 28.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3876, allocations: 10.94 kB / 0.5172 GB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3876, allocations: 2.625 kB / 0.5172 GB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006584/0.3942, allocations: 1.7 MB / 0.5189 GB, free: 28.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/0.3948, allocations: 144.4 kB / 0.519 GB, free: 28.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/0.4087, allocations: 7.24 MB / 0.5261 GB, free: 26.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000766/0.4094, allocations: 99.78 kB / 0.5262 GB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.772e-05/0.4095, allocations: 33.47 kB / 0.5262 GB, free: 26.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003022/0.4098, allocations: 205.8 kB / 0.5264 GB, free: 26.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.4099, allocations: 66.97 kB / 0.5265 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006568/0.4165, allocations: 2.286 MB / 0.5287 GB, free: 25.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.4165, allocations: 13.78 kB / 0.5287 GB, free: 25.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4165, allocations: 5.938 kB / 0.5287 GB, free: 25.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.4165, allocations: 5.109 kB / 0.5287 GB, free: 25.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007851/0.4244, allocations: 3.259 MB / 0.5319 GB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.4244, allocations: 0 / 0.5319 GB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.4248, allocations: 111.1 kB / 0.532 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006662/0.4315, allocations: 1.497 MB / 0.5335 GB, free: 23.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.4316, allocations: 19.11 kB / 0.5335 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/0.4445, allocations: 7.146 MB / 0.5405 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4445, allocations: 2 kB / 0.5405 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006037/0.4505, allocations: 2.236 MB / 0.5427 GB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.4507, allocations: 82.91 kB / 0.5427 GB, free: 18.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.4509, allocations: 20.12 kB / 0.5428 GB, free: 18.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007284/0.4516, allocations: 54.06 kB / 0.5428 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/0.4519, allocations: 79.81 kB / 0.5429 GB, free: 18.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.438e-05/0.452, allocations: 33.45 kB / 0.5429 GB, free: 18.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004079/0.4524, allocations: 289 kB / 0.5432 GB, free: 18.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4524, allocations: 1.344 kB / 0.5432 GB, free: 18.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001274/0.4537, allocations: 334.2 kB / 0.5435 GB, free: 18.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006002/0.4597, allocations: 2.822 MB / 0.5463 GB, free: 16.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004281/0.4639, allocations: 1.864 MB / 0.5481 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.464, allocations: 0 / 0.5481 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003087/0.467, allocations: 1.241 MB / 0.5493 GB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.4678, allocations: 88.55 kB / 0.5494 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.4847, allocations: 8.999 MB / 0.5582 GB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.4851, allocations: 0.9179 MB / 0.5591 GB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003197/0.4854, allocations: 98.62 kB / 0.5592 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.4857, allocations: 243.3 kB / 0.5594 GB, free: 4.957 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4857, allocations: 0 / 0.5594 GB, free: 4.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07267/0.5583, allocations: 29.54 MB / 0.5882 GB, free: 7.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/14.84, allocations: 6.25 kB / 0.5882 GB, free: 7.602 MB / 414.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.60828973003663] Failed to read output from testmodel.py, exit status != 0: 14.971014702925459 14.995248522 14.854403997 Calling exit ...