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.00129/0.00129, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001432/0.001432, allocations: 219.1 kB / 23.03 MB, free: 5.012 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.03564/0.03564, allocations: 6.141 MB / 319.4 MB, free: 12.73 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.001554/0.001554, allocations: 47.92 kB / 444.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1039, allocations: 55.02 MB / 499.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.005199/0.1091, allocations: 3.245 MB / 0.4909 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.1126, allocations: 1.937 MB / 0.4928 GB, free: 8.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.1129, allocations: 12 kB / 0.4928 GB, free: 8.715 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006567/0.1135, allocations: 222.5 kB / 0.493 GB, free: 8.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.1145, allocations: 373.7 kB / 0.4934 GB, free: 8.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.1172, allocations: 1.221 MB / 0.4946 GB, free: 6.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.1184, allocations: 0.7697 MB / 0.4953 GB, free: 6.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.1187, allocations: 154.1 kB / 0.4955 GB, free: 5.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000387/0.1191, allocations: 338.7 kB / 0.4958 GB, free: 5.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.1196, allocations: 366.3 kB / 0.4962 GB, free: 5.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.1197, allocations: 64 kB / 0.4962 GB, free: 5.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006511/0.1204, allocations: 291.8 kB / 0.4965 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.1205, allocations: 163.3 kB / 0.4967 GB, free: 4.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.1209, allocations: 298.5 kB / 0.4969 GB, free: 4.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.1221, allocations: 0.9379 MB / 0.4979 GB, free: 3.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.1221, allocations: 4 kB / 0.4979 GB, free: 3.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1221, allocations: 0 / 0.4979 GB, free: 3.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.1221, allocations: 4 kB / 0.4979 GB, free: 3.535 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.008474/0.1306, allocations: 2.076 MB / 0.4999 GB, free: 1.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1306, allocations: 12.03 kB / 0.4999 GB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.1307, allocations: 90.7 kB / 0.5 GB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.1309, allocations: 80.47 kB / 0.5001 GB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/0.1316, allocations: 428.2 kB / 0.5005 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.1317, allocations: 45.38 kB / 0.5005 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.1318, allocations: 60.38 kB / 0.5006 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.1335, allocations: 1.282 MB / 0.5018 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1335, allocations: 3.938 kB / 0.5018 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.1336, allocations: 20 kB / 0.5018 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.1336, allocations: 15.98 kB / 0.5019 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.1349, allocations: 0.8082 MB / 0.5027 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/0.1389, allocations: 1.946 MB / 0.5046 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.1406, allocations: 0.9688 MB / 0.5055 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008244/0.1414, allocations: 0.5153 MB / 0.506 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.501e-05/0.1415, allocations: 20.98 kB / 0.506 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.1416, allocations: 51.5 kB / 0.5061 GB, free: 10.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 2.855e-06/0.1416, allocations: 0 / 0.5061 GB, free: 10.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.01558/0.1572, allocations: 3.85 MB / 0.5098 GB, free: 7.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.1573, allocations: 115.8 kB / 0.5099 GB, free: 6.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/0.1579, allocations: 433.7 kB / 0.5104 GB, free: 6.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.158, allocations: 45.7 kB / 0.5104 GB, free: 6.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1582, allocations: 233.8 kB / 0.5106 GB, free: 6.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.1585, allocations: 321.2 kB / 0.5109 GB, free: 5.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/0.1588, allocations: 182.6 kB / 0.5111 GB, free: 5.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.159, allocations: 366.8 kB / 0.5115 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008926/0.1599, allocations: 0.5448 MB / 0.512 GB, free: 4.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.1609, allocations: 0.6765 MB / 0.5126 GB, free: 4.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.1629, allocations: 1.224 MB / 0.5138 GB, free: 2.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1629, allocations: 0 / 0.5138 GB, free: 2.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006709/0.1696, allocations: 2.347 MB / 0.5161 GB, free: 480 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.1696, allocations: 8 kB / 0.5161 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.1696, allocations: 4 kB / 0.5161 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2044/0.374, allocations: 1.685 MB / 0.5178 GB, free: 29.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.3747, allocations: 145.6 kB / 0.5179 GB, free: 29.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.3873, allocations: 7.033 MB / 0.5248 GB, free: 27.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/0.388, allocations: 100.5 kB / 0.5249 GB, free: 27.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.3881, allocations: 34.02 kB / 0.5249 GB, free: 27.32 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.0002861/0.3884, allocations: 205.3 kB / 0.5251 GB, free: 27.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3885, allocations: 67.05 kB / 0.5252 GB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006021/0.3945, allocations: 2.291 MB / 0.5274 GB, free: 26.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.3945, allocations: 12.45 kB / 0.5274 GB, free: 26.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3945, allocations: 3.375 kB / 0.5274 GB, free: 26.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3945, allocations: 5.719 kB / 0.5274 GB, free: 26.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006888/0.4014, allocations: 3.042 MB / 0.5304 GB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4014, allocations: 1.375 kB / 0.5304 GB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.4018, allocations: 112.2 kB / 0.5305 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006496/0.4083, allocations: 1.494 MB / 0.532 GB, free: 24.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.4085, allocations: 19.91 kB / 0.532 GB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.4212, allocations: 6.938 MB / 0.5388 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4212, allocations: 1.922 kB / 0.5388 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005942/0.4272, allocations: 2.242 MB / 0.541 GB, free: 19.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.4274, allocations: 73.34 kB / 0.541 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.4276, allocations: 28.73 kB / 0.5411 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007132/0.4284, allocations: 53.47 kB / 0.5411 GB, free: 19.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003903/0.4287, allocations: 81.31 kB / 0.5412 GB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.247e-05/0.4288, allocations: 32.42 kB / 0.5412 GB, free: 19.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003752/0.4292, allocations: 288.6 kB / 0.5415 GB, free: 19.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4292, allocations: 0 / 0.5415 GB, free: 19.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001123/0.4303, allocations: 339.7 kB / 0.5418 GB, free: 19.21 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.005972/0.4363, allocations: 2.816 MB / 0.5446 GB, free: 17.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004246/0.4405, allocations: 1.882 MB / 0.5464 GB, free: 16.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.4405, allocations: 1.5 kB / 0.5464 GB, free: 16.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003158/0.4437, allocations: 1.233 MB / 0.5476 GB, free: 16.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.4444, allocations: 79.5 kB / 0.5477 GB, free: 16.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.4599, allocations: 9.001 MB / 0.5565 GB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.4601, allocations: 318.2 kB / 0.5568 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002995/0.4604, allocations: 97.81 kB / 0.5569 GB, free: 7.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.4606, allocations: 235.3 kB / 0.5571 GB, free: 6.988 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4606, allocations: 0 / 0.5571 GB, free: 6.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06457/0.5252, allocations: 28.65 MB / 0.5851 GB, free: 10.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.49, allocations: 4.062 kB / 0.5851 GB, free: 10.59 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.07768032886088] Failed to read output from testmodel.py, exit status != 0: 14.624173685908318 14.649645358 14.523031196 Calling exit ...