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.001266/0.001266, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.001455/0.001455, allocations: 216 kB / 23.82 MB, free: 4.48 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.565/1.565, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.03588/0.03588, allocations: 6.139 MB / 320.1 MB, free: 12.75 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 55.91 kB / 445.2 MB, free: 5.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1194, allocations: 55.02 MB / 0.4885 GB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.005514/0.1249, allocations: 3.249 MB / 0.4917 GB, free: 10.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.1285, allocations: 1.929 MB / 0.4936 GB, free: 8.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007283/0.1292, allocations: 12 kB / 0.4936 GB, free: 8.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007863/0.13, allocations: 226.5 kB / 0.4938 GB, free: 8.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.1315, allocations: 365.7 kB / 0.4941 GB, free: 8.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.1346, allocations: 1.234 MB / 0.4954 GB, free: 6.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.1359, allocations: 0.7619 MB / 0.4961 GB, free: 6.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.1362, allocations: 170.1 kB / 0.4963 GB, free: 5.992 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003984/0.1366, allocations: 334.7 kB / 0.4966 GB, free: 5.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005733/0.1372, allocations: 418.3 kB / 0.497 GB, free: 5.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.1373, allocations: 64 kB / 0.497 GB, free: 5.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008721/0.1382, allocations: 303.7 kB / 0.4973 GB, free: 4.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.1384, allocations: 159.4 kB / 0.4975 GB, free: 4.738 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.1388, allocations: 302.5 kB / 0.4978 GB, free: 4.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.1402, allocations: 0.9496 MB / 0.4987 GB, free: 3.488 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1402, allocations: 0 / 0.4987 GB, free: 3.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1402, allocations: 0 / 0.4987 GB, free: 3.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1402, allocations: 0 / 0.4987 GB, free: 3.488 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.008752/0.149, allocations: 2.076 MB / 0.5007 GB, free: 1.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.149, allocations: 8.031 kB / 0.5007 GB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.444e-05/0.149, allocations: 13.19 kB / 0.5007 GB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.1492, allocations: 94.7 kB / 0.5008 GB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.1494, allocations: 80.47 kB / 0.5009 GB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007652/0.1501, allocations: 424.2 kB / 0.5013 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.1502, allocations: 45.38 kB / 0.5014 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.1503, allocations: 60.38 kB / 0.5014 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.1521, allocations: 1.289 MB / 0.5027 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1521, allocations: 7.938 kB / 0.5027 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-05/0.1521, allocations: 20 kB / 0.5027 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.1522, allocations: 12 kB / 0.5027 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.1535, allocations: 0.8121 MB / 0.5035 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/0.1578, allocations: 1.954 MB / 0.5054 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.1595, allocations: 0.9649 MB / 0.5064 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008325/0.1604, allocations: 0.518 MB / 0.5069 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.1605, allocations: 16.98 kB / 0.5069 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.1605, allocations: 51.5 kB / 0.5069 GB, free: 10.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.136e-06/0.1605, allocations: 0 / 0.5069 GB, free: 10.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.01568/0.1762, allocations: 3.846 MB / 0.5107 GB, free: 6.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.1763, allocations: 115.8 kB / 0.5108 GB, free: 6.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007503/0.1771, allocations: 433.7 kB / 0.5112 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002059/0.1773, allocations: 45.7 kB / 0.5112 GB, free: 6.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.1775, allocations: 233.8 kB / 0.5115 GB, free: 6.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.1779, allocations: 313.2 kB / 0.5118 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/0.1783, allocations: 182.6 kB / 0.5119 GB, free: 5.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002392/0.1785, allocations: 370.8 kB / 0.5123 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009302/0.1794, allocations: 0.5486 MB / 0.5128 GB, free: 4.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.1805, allocations: 0.6765 MB / 0.5135 GB, free: 3.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.1826, allocations: 1.22 MB / 0.5147 GB, free: 2.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1826, allocations: 0 / 0.5147 GB, free: 2.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006923/0.1895, allocations: 2.343 MB / 0.517 GB, free: 428 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.1895, allocations: 8 kB / 0.517 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1895, allocations: 0 / 0.517 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2043/0.3939, allocations: 1.691 MB / 0.5186 GB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.3945, allocations: 147.8 kB / 0.5188 GB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.4075, allocations: 7.029 MB / 0.5256 GB, free: 27.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.4082, allocations: 96.52 kB / 0.5257 GB, free: 27.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/0.4083, allocations: 33.69 kB / 0.5258 GB, free: 27.3 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.0002784/0.4086, allocations: 203.9 kB / 0.526 GB, free: 27.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.4087, allocations: 66.72 kB / 0.526 GB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006057/0.4148, allocations: 2.292 MB / 0.5283 GB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.4148, allocations: 14.38 kB / 0.5283 GB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4148, allocations: 0 / 0.5283 GB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.4148, allocations: 5.812 kB / 0.5283 GB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006936/0.4217, allocations: 3.041 MB / 0.5312 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.4217, allocations: 4.641 kB / 0.5313 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.4221, allocations: 109.7 kB / 0.5314 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006812/0.429, allocations: 1.493 MB / 0.5328 GB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.4291, allocations: 18.64 kB / 0.5328 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/0.4429, allocations: 6.935 MB / 0.5396 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4429, allocations: 1.875 kB / 0.5396 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005766/0.4487, allocations: 2.241 MB / 0.5418 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.4489, allocations: 86.95 kB / 0.5419 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.449, allocations: 20.81 kB / 0.5419 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.4496, allocations: 64.69 kB / 0.542 GB, free: 19.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/0.45, allocations: 78.22 kB / 0.542 GB, free: 19.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-05/0.4501, allocations: 29.83 kB / 0.5421 GB, free: 19.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003515/0.4504, allocations: 289.1 kB / 0.5423 GB, free: 19.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4504, allocations: 3.938 kB / 0.5423 GB, free: 19.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001132/0.4516, allocations: 333.4 kB / 0.5427 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.005695/0.4573, allocations: 2.819 MB / 0.5454 GB, free: 17.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004201/0.4615, allocations: 1.865 MB / 0.5472 GB, free: 16.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.4615, allocations: 7.594 kB / 0.5472 GB, free: 16.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0031/0.4646, allocations: 1.228 MB / 0.5484 GB, free: 16.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007207/0.4653, allocations: 93.7 kB / 0.5485 GB, free: 16.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.4809, allocations: 9.002 MB / 0.5573 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.4811, allocations: 320.7 kB / 0.5576 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002931/0.4814, allocations: 90.81 kB / 0.5577 GB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.4817, allocations: 239.3 kB / 0.5579 GB, free: 6.809 MB / 382.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4817, allocations: 0 / 0.5579 GB, free: 6.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05829/0.54, allocations: 28.21 MB / 0.5855 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.39, allocations: 11.19 kB / 0.5855 GB, free: 10.85 MB / 414.1 MB " [Timeout remaining time 644] (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: 18.295139238005504] Failed to read output from testmodel.py, exit status != 0: 15.578299778047949 15.60317847 15.458429862 Calling exit ...