Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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.001677/0.001677, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.002072/0.002072, allocations: 165 kB / 23.02 MB, free: 1.555 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 1.177/1.177, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.16/0.16, allocations: 21.8 MB / 281.7 MB, free: 7.195 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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 358.8 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.134e-05/4.359e-05, allocations: 2.312 kB / 358.8 MB, free: 5.055 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.003977/0.004021, allocations: 3.196 MB / 362 MB, free: 1.844 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.005741, allocations: 0.6701 MB / 362.7 MB, free: 1.172 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005501/0.006291, allocations: 19.94 kB / 362.7 MB, free: 1.152 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.006711, allocations: 182.3 kB / 362.9 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.006982, allocations: 134.8 kB / 363 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.00773, allocations: 359.5 kB / 363.4 MB, free: 500 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007294/0.008459, allocations: 0.8444 MB / 364.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005725/0.009032, allocations: 480.1 kB / 364.7 MB, free: 15.14 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.009421, allocations: 494.8 kB / 365.2 MB, free: 14.65 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.009639, allocations: 290.8 kB / 365.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.032e-05/0.00973, allocations: 84 kB / 365.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.009924, allocations: 115.9 kB / 365.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.0102, allocations: 458.3 kB / 366.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.01039, allocations: 330.6 kB / 366.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007911/0.01118, allocations: 0.9096 MB / 367.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.01119, allocations: 0 / 367.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01119, allocations: 0 / 367.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.0112, allocations: 4 kB / 367.3 MB, free: 12.48 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.001507/0.01271, allocations: 1.863 MB / 369.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.01275, allocations: 8.031 kB / 369.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/0.01297, allocations: 291.6 kB / 369.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.0136, allocations: 0.7252 MB / 370.2 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.775e-05/0.01365, allocations: 78.45 kB / 370.3 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-05/0.01374, allocations: 104.4 kB / 370.4 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/0.01458, allocations: 0.7675 MB / 371.1 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.01459, allocations: 192 / 371.1 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.01464, allocations: 52.31 kB / 371.2 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.01466, allocations: 24.38 kB / 371.2 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.01516, allocations: 371.5 kB / 371.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.0181, allocations: 3.338 MB / 374.9 MB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/0.01872, allocations: 373.2 kB / 375.3 MB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.0189, allocations: 129.5 kB / 375.4 MB, free: 4.094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.247e-05/0.01898, allocations: 28.64 kB / 375.4 MB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.01901, allocations: 42.05 kB / 375.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 3.286e-06/0.01901, allocations: 0 / 375.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=68): time 0.000736/0.01975, allocations: 0.5789 MB / 376.1 MB, free: 3.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.0198, allocations: 60.06 kB / 376.1 MB, free: 3.359 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009177/0.02072, allocations: 1.165 MB / 377.3 MB, free: 2.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.02074, allocations: 41.7 kB / 377.3 MB, free: 2.121 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004951/0.02124, allocations: 0.8431 MB / 378.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.02137, allocations: 246.1 kB / 378.4 MB, free: 1.023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.02149, allocations: 120.3 kB / 378.5 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.02164, allocations: 0.4926 MB / 379 MB, free: 408 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.0218, allocations: 93.94 kB / 379.1 MB, free: 312 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.02213, allocations: 235 kB / 379.3 MB, free: 32 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.02254, allocations: 369.5 kB / 379.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.02254, allocations: 0 / 379.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005832/0.02313, allocations: 0.5587 MB / 380.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.02315, allocations: 8 kB / 380.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.02316, allocations: 0 / 380.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.02318, allocations: 8 kB / 380.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.02347, allocations: 135.8 kB / 380.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.02348, allocations: 11.92 kB / 380.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.0236, allocations: 51.56 kB / 380.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.02363, allocations: 28 kB / 380.5 MB, free: 14.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 (83): * Single equations (assignments): 83 * 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.0001901/0.02382, allocations: 191.5 kB / 380.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.02394, allocations: 175 kB / 380.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/0.02456, allocations: 0.5275 MB / 381.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.02457, allocations: 8 kB / 381.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.02457, allocations: 0 / 381.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.02458, allocations: 3.984 kB / 381.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.02589, allocations: 1.323 MB / 382.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.0259, allocations: 3.984 kB / 382.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.02617, allocations: 111.8 kB / 382.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.02618, allocations: 4 kB / 382.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.0262, allocations: 15.98 kB / 382.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.02621, allocations: 8 kB / 382.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02621, allocations: 0 / 382.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007849/0.02699, allocations: 0.7717 MB / 383.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.02709, allocations: 130.8 kB / 383.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.02714, allocations: 11.98 kB / 383.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.02726, allocations: 12 kB / 383.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.02734, allocations: 48.52 kB / 383.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.02736, allocations: 16 kB / 383.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005451/0.0279, allocations: 0.6849 MB / 384.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.0279, allocations: 4 kB / 384.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004351/0.02834, allocations: 211.2 kB / 384.7 MB, free: 10.48 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 (68): * Single equations (assignments): 68 * 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.0002096/0.02855, allocations: 111.1 kB / 384.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.02902, allocations: 347 kB / 385.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.02902, allocations: 0 / 385.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.02922, allocations: 189.3 kB / 385.4 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.02967, allocations: 101.2 kB / 385.5 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.03212, allocations: 2.279 MB / 387.7 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.03235, allocations: 329.2 kB / 388.1 MB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.0325, allocations: 72.36 kB / 388.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.642e-05/0.0326, allocations: 48.48 kB / 388.2 MB, free: 6.945 MB / 362.7 MB Notification: Performance of SimCode: time 1.733e-06/0.0326, allocations: 0 / 388.2 MB, free: 6.945 MB / 362.7 MB Notification: Performance of Templates: time 0.009798/0.0424, allocations: 4.38 MB / 392.6 MB, free: 2.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5500466469675303]