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.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.0007142/0.0007142, allocations: 87.56 kB / 20.19 MB, free: 4.348 MB / 18.57 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.0006936/0.0006936, allocations: 158 kB / 23.51 MB, free: 1.031 MB / 18.57 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 0.8476/0.8476, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.1189/0.1189, allocations: 21.79 MB / 282.1 MB, free: 7.211 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/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: 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 1.583e-06/1.583e-06, allocations: 0 / 358.8 MB, free: 5.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.53e-05, allocations: 5.828 kB / 358.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.002792/0.002808, allocations: 3.079 MB / 361.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.004121, allocations: 0.6662 MB / 362.6 MB, free: 1.648 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003421/0.004463, allocations: 19.88 kB / 362.6 MB, free: 1.629 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.004767, allocations: 166.3 kB / 362.8 MB, free: 1.465 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.004993, allocations: 122.8 kB / 362.9 MB, free: 1.344 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.005563, allocations: 359.5 kB / 363.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006397/0.006203, allocations: 0.8443 MB / 364.1 MB, free: 148 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.006707, allocations: 472.1 kB / 364.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.007058, allocations: 494.8 kB / 365 MB, free: 15.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.00727, allocations: 298.8 kB / 365.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.313e-05/0.007354, allocations: 84 kB / 365.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.007517, allocations: 112 kB / 365.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.007794, allocations: 454.4 kB / 366 MB, free: 14.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.007975, allocations: 326.6 kB / 366.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009084/0.008883, allocations: 1.187 MB / 367.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.008887, allocations: 4 kB / 367.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008888, allocations: 0 / 367.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.008908, allocations: 0 / 367.5 MB, free: 12.72 MB / 346.7 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.00148/0.01039, allocations: 1.691 MB / 369.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.01043, allocations: 8.031 kB / 369.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.01065, allocations: 283.6 kB / 369.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006415/0.01129, allocations: 0.7021 MB / 370.1 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/0.01134, allocations: 78.42 kB / 370.2 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.94e-05/0.01143, allocations: 104.4 kB / 370.3 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.01249, allocations: 1.134 MB / 371.5 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.01251, allocations: 4.125 kB / 371.5 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.01256, allocations: 40.38 kB / 371.5 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.01258, allocations: 24.38 kB / 371.5 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009928/0.01357, allocations: 1.054 MB / 372.6 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.01628, allocations: 3.2 MB / 375.8 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.01732, allocations: 1.238 MB / 377 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.01767, allocations: 446.6 kB / 377.5 MB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.457e-05/0.01772, allocations: 28.59 kB / 377.5 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.01774, allocations: 43.16 kB / 377.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.174e-06/0.01774, allocations: 0 / 377.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.001234/0.01898, allocations: 1.477 MB / 379 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.01902, allocations: 60.06 kB / 379.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008604/0.01988, allocations: 1.209 MB / 380.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.0199, allocations: 41.7 kB / 380.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.02026, allocations: 0.7409 MB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.02036, allocations: 238 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/0.02046, allocations: 110.3 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.02055, allocations: 333.9 kB / 381.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.02087, allocations: 413.1 kB / 382.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.02123, allocations: 0.5121 MB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000714/0.02194, allocations: 0.9474 MB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.02195, allocations: 0 / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008672/0.02282, allocations: 1.172 MB / 384.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.02283, allocations: 4 kB / 384.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.02284, allocations: 8 kB / 384.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.02285, allocations: 4 kB / 384.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.02309, allocations: 127.8 kB / 384.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.0231, allocations: 11.98 kB / 384.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.02321, allocations: 51.94 kB / 385 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.02324, allocations: 24 kB / 385 MB, free: 10.82 MB / 362.7 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.000301/0.02354, allocations: 357.5 kB / 385.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.02364, allocations: 163 kB / 385.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009079/0.02455, allocations: 1.148 MB / 386.6 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.02455, allocations: 12 kB / 386.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.02456, allocations: 0 / 386.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.02456, allocations: 3.984 kB / 386.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.02609, allocations: 2.05 MB / 388.7 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.0261, allocations: 0 / 388.7 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.02632, allocations: 107.8 kB / 388.8 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.02633, allocations: 8 kB / 388.8 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.02635, allocations: 16 kB / 388.8 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.02635, allocations: 4 kB / 388.8 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.02636, allocations: 0 / 388.8 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.02764, allocations: 1.82 MB / 390.7 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.02772, allocations: 127 kB / 390.8 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.02776, allocations: 12 kB / 390.8 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.02786, allocations: 12 kB / 390.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.0279, allocations: 36.58 kB / 390.8 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.02792, allocations: 23.98 kB / 390.9 MB, free: 4.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006041/0.02852, allocations: 0.8317 MB / 391.7 MB, free: 4.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02852, allocations: 4 kB / 391.7 MB, free: 4.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000302/0.02882, allocations: 215.1 kB / 391.9 MB, free: 3.812 MB / 362.7 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.000138/0.02896, allocations: 119.1 kB / 392 MB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007493/0.02971, allocations: 0.9152 MB / 392.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.02971, allocations: 0 / 392.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.03005, allocations: 476.2 kB / 393.4 MB, free: 2.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.03041, allocations: 81.05 kB / 393.5 MB, free: 2.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.03252, allocations: 2.703 MB / 396.2 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.03296, allocations: 0.6968 MB / 396.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00013/0.03309, allocations: 72.36 kB / 397 MB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.03316, allocations: 52.48 kB / 397 MB, free: 14.61 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03316, allocations: 0 / 397 MB, free: 14.61 MB / 378.7 MB Notification: Performance of Templates: time 0.007369/0.04053, allocations: 4.178 MB / 401.2 MB, free: 10.46 MB / 378.7 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 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.6578931361436844] Failed to read output from testmodel.py, exit status != 0: 0.045076193287968636 0.053432481000000004 0.042843485 Calling exit ...