Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.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.0009103/0.0009103, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0008731/0.0008731, allocations: 177 kB / 23.36 MB, free: 1.137 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.8935/0.8935, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.1207/0.1207, allocations: 21.81 MB / 282.1 MB, free: 7.062 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_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 306 MB, free: 9.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.892e-05, allocations: 2.312 kB / 306 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_6): time 0.006965/0.006984, allocations: 3.152 MB / 309.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004839/0.01182, allocations: 0.8214 MB / 310 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003523/0.01217, allocations: 23.88 kB / 310 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.01253, allocations: 182.3 kB / 310.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.01282, allocations: 134.8 kB / 310.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.01649, allocations: 387.4 kB / 310.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007381/0.01723, allocations: 0.8561 MB / 311.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005486/0.01778, allocations: 488.2 kB / 312 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.01819, allocations: 0.4987 MB / 312.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.01846, allocations: 310.8 kB / 312.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.01857, allocations: 88 kB / 312.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.01873, allocations: 112 kB / 313 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.01902, allocations: 454.3 kB / 313.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.01925, allocations: 338.6 kB / 313.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006833/0.02608, allocations: 0.929 MB / 314.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.02609, allocations: 0 / 314.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02609, allocations: 0 / 314.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.0261, allocations: 3.938 kB / 314.7 MB, free: 1.254 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.001597/0.0277, allocations: 1.737 MB / 316.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.02773, allocations: 12.03 kB / 316.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.02794, allocations: 200.8 kB / 316.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.02856, allocations: 0.6408 MB / 317.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/0.02861, allocations: 74.47 kB / 317.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/0.02871, allocations: 108.3 kB / 317.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/0.02944, allocations: 0.7204 MB / 318.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.02946, allocations: 4.188 kB / 318.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.02951, allocations: 40.38 kB / 318.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.02953, allocations: 24.38 kB / 318.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.02989, allocations: 268.5 kB / 318.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/0.03221, allocations: 2.246 MB / 320.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004422/0.03265, allocations: 357.7 kB / 321.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.03277, allocations: 102.8 kB / 321.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-05/0.03283, allocations: 32.62 kB / 321.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.03306, allocations: 199.1 kB / 321.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.294e-06/0.03306, allocations: 0 / 321.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.000517/0.03357, allocations: 401.8 kB / 321.9 MB, free: 9.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.03361, allocations: 60.06 kB / 321.9 MB, free: 9.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000725/0.03434, allocations: 0.9758 MB / 322.9 MB, free: 8.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.03437, allocations: 41.7 kB / 322.9 MB, free: 8.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.03465, allocations: 0.5059 MB / 323.4 MB, free: 8.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.03479, allocations: 265.7 kB / 323.7 MB, free: 7.973 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.03492, allocations: 118.6 kB / 323.8 MB, free: 7.852 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.03501, allocations: 341.9 kB / 324.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.03511, allocations: 64.73 kB / 324.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.03528, allocations: 189.7 kB / 324.4 MB, free: 7.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.03562, allocations: 322.7 kB / 324.7 MB, free: 6.867 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.03562, allocations: 0 / 324.7 MB, free: 6.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0004459/0.03607, allocations: 388.1 kB / 325.1 MB, free: 6.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.03608, allocations: 15.94 kB / 325.1 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.03609, allocations: 0 / 325.1 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.03611, allocations: 8 kB / 325.1 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.03644, allocations: 135.8 kB / 325.3 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.03645, allocations: 8 kB / 325.3 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.03661, allocations: 55.58 kB / 325.3 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.03663, allocations: 16 kB / 325.3 MB, free: 6.246 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: min_QL:DISCRETE(start = 1.0 fixed = true ) \"Minimum quality of life\" type: Real min_dPop:DISCRETE(unit = \"1/yr\" fixed = true ) \"Minimal derivative of population\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.min_QL,$PRE.min_dPop,min_QL,min_dPop,Population.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Pollution.Integrator1.local_reset,CIAF.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0002192/0.03685, allocations: 168.5 kB / 325.5 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.03695, allocations: 99.84 kB / 325.6 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.03747, allocations: 436.3 kB / 326 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.03748, allocations: 8 kB / 326 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.03748, allocations: 0 / 326 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.03749, allocations: 3.984 kB / 326 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009488/0.03844, allocations: 0.9195 MB / 326.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.03844, allocations: 0 / 326.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.03874, allocations: 111.9 kB / 327.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.03875, allocations: 3.938 kB / 327.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.03877, allocations: 20 kB / 327.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.03878, allocations: 7.938 kB / 327.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.03878, allocations: 3.984 kB / 327.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.03935, allocations: 0.5819 MB / 327.7 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.03953, allocations: 150.8 kB / 327.8 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.03959, allocations: 16 kB / 327.8 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.03973, allocations: 12 kB / 327.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.03979, allocations: 40.56 kB / 327.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.03981, allocations: 12 kB / 327.9 MB, free: 3.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004349/0.04024, allocations: 0.5099 MB / 328.4 MB, free: 3.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04024, allocations: 4 kB / 328.4 MB, free: 3.086 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004306/0.04068, allocations: 219.2 kB / 328.6 MB, free: 2.871 MB / 298.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: 3 ($whenCondition1,min_dPop,min_QL) * Number of discrete states: 2 (min_dPop,min_QL) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000142/0.04082, allocations: 102.3 kB / 328.7 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.04119, allocations: 296.2 kB / 329 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.0412, allocations: 16 kB / 329 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.04138, allocations: 166.5 kB / 329.2 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.04178, allocations: 96.23 kB / 329.3 MB, free: 2.207 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.04421, allocations: 2.276 MB / 331.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.04447, allocations: 333.2 kB / 331.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.04466, allocations: 68.41 kB / 332 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.04482, allocations: 127.4 kB / 332.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.04482, allocations: 0 / 332.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of Templates: time 0.01064/0.05546, allocations: 4.978 MB / 337.1 MB, free: 10.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7050980939529836]