Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.001371/0.001371, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001749/0.001749, allocations: 220.8 kB / 23.03 MB, free: 4.621 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.03682/0.03682, allocations: 6.14 MB / 319.4 MB, free: 12.74 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.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 55.92 kB / 444.4 MB, free: 5.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1024, allocations: 55.02 MB / 499.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.006886/0.1093, allocations: 4.92 MB / 0.4926 GB, free: 9.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004482/0.1137, allocations: 2.303 MB / 0.4948 GB, free: 6.691 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008214/0.1146, allocations: 20 kB / 0.4948 GB, free: 6.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009084/0.1155, allocations: 313.8 kB / 0.4951 GB, free: 6.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.1174, allocations: 0.5861 MB / 0.4957 GB, free: 5.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.1207, allocations: 1.351 MB / 0.497 GB, free: 4.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.1227, allocations: 1.26 MB / 0.4982 GB, free: 3.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006313/0.1233, allocations: 261.5 kB / 0.4985 GB, free: 2.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009515/0.1243, allocations: 0.5409 MB / 0.499 GB, free: 2.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.1254, allocations: 0.6066 MB / 0.4996 GB, free: 1.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003242/0.1257, allocations: 104 kB / 0.4997 GB, free: 1.637 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009052/0.1266, allocations: 339.7 kB / 0.5 GB, free: 1.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.127, allocations: 266.9 kB / 0.5003 GB, free: 1.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007824/0.1277, allocations: 0.4898 MB / 0.5008 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.1299, allocations: 1.424 MB / 0.5022 GB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1299, allocations: 0 / 0.5022 GB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1299, allocations: 0 / 0.5022 GB, free: 15.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.995e-05/0.13, allocations: 0 / 0.5022 GB, free: 15.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01332/0.1433, allocations: 3.093 MB / 0.5052 GB, free: 11.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.1434, allocations: 8.031 kB / 0.5052 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002836/0.1436, allocations: 143.1 kB / 0.5053 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/0.144, allocations: 136.1 kB / 0.5055 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.1452, allocations: 0.6156 MB / 0.5061 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.1453, allocations: 74.31 kB / 0.5061 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.1455, allocations: 100.4 kB / 0.5062 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.1483, allocations: 2.097 MB / 0.5083 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1483, allocations: 0 / 0.5083 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.1484, allocations: 40 kB / 0.5083 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.1484, allocations: 20 kB / 0.5083 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.1506, allocations: 1.312 MB / 0.5096 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00673/0.1574, allocations: 3.081 MB / 0.5126 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/0.1601, allocations: 1.671 MB / 0.5143 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.1614, allocations: 0.8365 MB / 0.5151 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.1615, allocations: 33.17 kB / 0.5151 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.1616, allocations: 60.11 kB / 0.5152 GB, free: 1.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=147): time 3.837e-06/0.1616, allocations: 0 / 0.5152 GB, free: 1.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=147): time 0.2323/0.3939, allocations: 6.922 MB / 0.5219 GB, free: 29.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.394, allocations: 119.4 kB / 0.522 GB, free: 29.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009623/0.395, allocations: 0.6301 MB / 0.5226 GB, free: 29.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002443/0.3952, allocations: 62.48 kB / 0.5227 GB, free: 29.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.3954, allocations: 326.2 kB / 0.523 GB, free: 29.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/0.3958, allocations: 0.5085 MB / 0.5235 GB, free: 28.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/0.3963, allocations: 276.4 kB / 0.5238 GB, free: 28.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.3964, allocations: 351.8 kB / 0.5241 GB, free: 28.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.3977, allocations: 0.8684 MB / 0.525 GB, free: 28.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.399, allocations: 1.041 MB / 0.526 GB, free: 28.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002675/0.4017, allocations: 1.959 MB / 0.5279 GB, free: 27.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4017, allocations: 6.438 kB / 0.5279 GB, free: 27.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009701/0.4114, allocations: 3.752 MB / 0.5316 GB, free: 25.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.4114, allocations: 5.969 kB / 0.5316 GB, free: 25.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4114, allocations: 0 / 0.5316 GB, free: 25.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.4221, allocations: 3.55 MB / 0.535 GB, free: 25.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009808/0.423, allocations: 229.3 kB / 0.5353 GB, free: 25.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01975/0.4428, allocations: 10.99 MB / 0.546 GB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.4439, allocations: 136.4 kB / 0.5461 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.444, allocations: 54.77 kB / 0.5462 GB, free: 18.25 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 (135): * Single equations (assignments): 134 * 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 {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0003975/0.4444, allocations: 259.7 kB / 0.5464 GB, free: 18.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.4446, allocations: 116.3 kB / 0.5465 GB, free: 17.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008492/0.4531, allocations: 3.72 MB / 0.5502 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.4531, allocations: 16 kB / 0.5502 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4531, allocations: 4 kB / 0.5502 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.4531, allocations: 7.969 kB / 0.5502 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009911/0.463, allocations: 4.869 MB / 0.5549 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.463, allocations: 0 / 0.5549 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/0.4636, allocations: 175.7 kB / 0.5551 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009235/0.4728, allocations: 2.73 MB / 0.5578 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.4729, allocations: 39.59 kB / 0.5578 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01996/0.4929, allocations: 10.82 MB / 0.5684 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4929, allocations: 0 / 0.5684 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.5032, allocations: 3.601 MB / 0.5719 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.5035, allocations: 138.8 kB / 0.572 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.5037, allocations: 32 kB / 0.5721 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.5047, allocations: 79.94 kB / 0.5721 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004658/0.5052, allocations: 134.4 kB / 0.5723 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.5053, allocations: 48 kB / 0.5723 GB, free: 7.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006702/0.506, allocations: 427 kB / 0.5727 GB, free: 7.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.506, allocations: 0 / 0.5727 GB, free: 7.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001482/0.5075, allocations: 0.531 MB / 0.5732 GB, free: 6.512 MB / 398.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 (106): * Single equations (assignments): 105 * 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 {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01047/0.518, allocations: 4.204 MB / 0.5773 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007943/0.5259, allocations: 3.022 MB / 0.5803 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.5259, allocations: 4.656 kB / 0.5803 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005993/0.5319, allocations: 2.002 MB / 0.5823 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.533, allocations: 152.8 kB / 0.5824 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03276/0.5658, allocations: 13.99 MB / 0.5961 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007888/0.5666, allocations: 491.8 kB / 0.5965 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006865/0.5673, allocations: 151.4 kB / 0.5967 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/0.568, allocations: 399.3 kB / 0.5971 GB, free: 13.93 MB / 430.1 MB Notification: Performance of SimCode: time 2.524e-06/0.568, allocations: 4 kB / 0.5971 GB, free: 13.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1459/0.7139, allocations: 45.88 MB / 0.6419 GB, free: 380 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.31, allocations: 0 / 0.6419 GB, free: 380 kB / 462.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.075408527627587] Failed to read output from testmodel.py, exit status != 0: 15.44793703313917 15.472030537 15.337428707 Calling exit ...