Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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.001539/0.001539, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001579/0.001579, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.447/1.447, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.366/0.366, allocations: 28.79 MB / 326.7 MB, free: 5.047 MB / 254.1 MB " [Timeout remaining time 179] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/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: translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 74.17 kB / 453.8 MB, free: 29.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1159, allocations: 56.42 MB / 0.4982 GB, free: 6.812 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.005286/0.1213, allocations: 3.636 MB / 0.5018 GB, free: 3.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1232, allocations: 0.6702 MB / 0.5024 GB, free: 2.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005459/0.1238, allocations: 15.94 kB / 0.5024 GB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000504/0.1243, allocations: 166.3 kB / 0.5026 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.1248, allocations: 118.8 kB / 0.5027 GB, free: 2.199 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.1256, allocations: 355.5 kB / 0.5031 GB, free: 1.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1267, allocations: 0.8482 MB / 0.5039 GB, free: 1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009294/0.1277, allocations: 0.6364 MB / 0.5045 GB, free: 332 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003695/0.1281, allocations: 334.5 kB / 0.5048 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.1285, allocations: 421.5 kB / 0.5052 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.1286, allocations: 88 kB / 0.5053 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.1288, allocations: 116 kB / 0.5054 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004133/0.1293, allocations: 434.5 kB / 0.5058 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005119/0.1298, allocations: 0.5971 MB / 0.5064 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.1313, allocations: 1.235 MB / 0.5076 GB, free: 13.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1313, allocations: 7.938 kB / 0.5076 GB, free: 13.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1313, allocations: 0 / 0.5076 GB, free: 13.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.408e-05/0.1314, allocations: 0 / 0.5076 GB, free: 13.11 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.002323/0.1337, allocations: 1.779 MB / 0.5094 GB, free: 11.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1338, allocations: 8.031 kB / 0.5094 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.134, allocations: 207.6 kB / 0.5096 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.1351, allocations: 0.7631 MB / 0.5103 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.876e-05/0.1351, allocations: 78.42 kB / 0.5104 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.1353, allocations: 100.4 kB / 0.5105 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.1369, allocations: 1.134 MB / 0.5116 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.137, allocations: 192 / 0.5116 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/0.137, allocations: 43.94 kB / 0.5116 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.1371, allocations: 24 kB / 0.5117 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.1385, allocations: 1.054 MB / 0.5127 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004746/0.1432, allocations: 3.58 MB / 0.5162 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.145, allocations: 1.271 MB / 0.5174 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.1456, allocations: 462.3 kB / 0.5179 GB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.047e-05/0.1456, allocations: 24.77 kB / 0.5179 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.1457, allocations: 47.12 kB / 0.5179 GB, free: 2.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 5.27e-06/0.1457, allocations: 0 / 0.5179 GB, free: 2.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.001946/0.1477, allocations: 1.459 MB / 0.5194 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.1477, allocations: 59.97 kB / 0.5194 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.1494, allocations: 1.234 MB / 0.5206 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-05/0.1495, allocations: 37.7 kB / 0.5207 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006857/0.1501, allocations: 0.7566 MB / 0.5214 GB, free: 14.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.1504, allocations: 238 kB / 0.5216 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.1506, allocations: 110.3 kB / 0.5217 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1507, allocations: 333.9 kB / 0.522 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/0.1513, allocations: 417.1 kB / 0.5224 GB, free: 13.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.1519, allocations: 0.5043 MB / 0.5229 GB, free: 13.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.1531, allocations: 0.9509 MB / 0.5239 GB, free: 12.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.1531, allocations: 4 kB / 0.5239 GB, free: 12.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001496/0.1546, allocations: 1.133 MB / 0.525 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.1547, allocations: 14.41 kB / 0.525 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.1547, allocations: 4 kB / 0.525 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.1547, allocations: 7.984 kB / 0.525 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.1552, allocations: 127.8 kB / 0.5251 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.1552, allocations: 4 kB / 0.5251 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.1555, allocations: 51.56 kB / 0.5252 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.1555, allocations: 24 kB / 0.5252 GB, free: 10.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (CIAF.Integrator1.local_reset,Pollution.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Population.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.000533/0.156, allocations: 369.4 kB / 0.5256 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.1562, allocations: 143 kB / 0.5257 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.1578, allocations: 1.146 MB / 0.5268 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.1578, allocations: 8 kB / 0.5268 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1578, allocations: 0 / 0.5268 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.1578, allocations: 3.984 kB / 0.5268 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.1607, allocations: 2.277 MB / 0.529 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1607, allocations: 0 / 0.529 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.1612, allocations: 111.8 kB / 0.5291 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.1612, allocations: 0 / 0.5291 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.1612, allocations: 23.92 kB / 0.5292 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1612, allocations: 4 kB / 0.5292 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1612, allocations: 0 / 0.5292 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.1634, allocations: 1.794 MB / 0.5309 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.1637, allocations: 208 kB / 0.5311 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.327e-05/0.1637, allocations: 12 kB / 0.5311 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.1639, allocations: 12 kB / 0.5311 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.164, allocations: 40.62 kB / 0.5312 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.1641, allocations: 23.94 kB / 0.5312 GB, free: 4.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001109/0.1652, allocations: 0.8597 MB / 0.532 GB, free: 3.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1652, allocations: 0 / 0.532 GB, free: 3.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005923/0.1658, allocations: 203.2 kB / 0.5322 GB, free: 3.328 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Population.Integrator1.y,Natural_Resources.Integrator1.y,Capital_Investment.Integrator1.y,Pollution.Integrator1.y,CIAF.Integrator1.y) * 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): 66 * 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 Backend phase and start with SimCode phase: time 0.0002243/0.166, allocations: 119.6 kB / 0.5324 GB, free: 3.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.1673, allocations: 0.9373 MB / 0.5333 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1673, allocations: 0.625 kB / 0.5333 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005788/0.1679, allocations: 0.4911 MB / 0.5338 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.1686, allocations: 88.55 kB / 0.5338 GB, free: 1.688 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.1727, allocations: 2.79 MB / 0.5366 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.1738, allocations: 1.287 MB / 0.5378 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.174, allocations: 51.44 kB / 0.5379 GB, free: 13.5 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.174, allocations: 0 / 0.5379 GB, free: 13.5 MB / 414.1 MB Notification: Performance of Templates: time 0.01847/0.1924, allocations: 10.78 MB / 0.5484 GB, free: 2.703 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.827172111952677] Failed to read output from testmodel.py, exit status != 0: 0.1991118169389665 0.213071047 0.079140521 Calling exit ...