Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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.000922/0.000922, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009879/0.0009879, allocations: 173 kB / 23.36 MB, free: 1.133 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.8915/0.8915, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.1127/0.1127, allocations: 21.8 MB / 282.1 MB, free: 7.074 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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 306 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.565e-05, allocations: 10.91 kB / 306 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.003291/0.003306, allocations: 3.116 MB / 309.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.004325, allocations: 0.7295 MB / 309.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.004546, allocations: 19.88 kB / 309.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.004823, allocations: 174.4 kB / 310 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.005032, allocations: 138.7 kB / 310.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.005502, allocations: 359.5 kB / 310.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006257/0.006128, allocations: 0.8404 MB / 311.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004104/0.006538, allocations: 492.1 kB / 311.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.006806, allocations: 494.8 kB / 312.3 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.006982, allocations: 294.7 kB / 312.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.836e-05/0.00706, allocations: 88 kB / 312.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.007183, allocations: 112 kB / 312.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.007402, allocations: 454.4 kB / 313.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.007563, allocations: 322.6 kB / 313.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007684/0.008331, allocations: 0.9096 MB / 314.5 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.008333, allocations: 0 / 314.5 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.1e-07/0.008334, allocations: 0 / 314.5 MB, free: 1.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.00834, allocations: 4 kB / 314.5 MB, free: 1.516 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.001144/0.009484, allocations: 1.726 MB / 316.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.593e-05/0.00951, allocations: 8.031 kB / 316.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.009645, allocations: 200.8 kB / 316.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.0101, allocations: 0.6329 MB / 317.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.01014, allocations: 78.44 kB / 317.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.01021, allocations: 100.4 kB / 317.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.01074, allocations: 0.7043 MB / 317.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.01076, allocations: 8.125 kB / 317.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.0108, allocations: 40.38 kB / 318 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.01081, allocations: 24.38 kB / 318 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.01107, allocations: 256.5 kB / 318.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.01278, allocations: 2.234 MB / 320.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.01312, allocations: 347.7 kB / 320.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.01321, allocations: 86.8 kB / 320.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.01326, allocations: 32.64 kB / 320.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.01328, allocations: 35.22 kB / 321 MB, free: 10.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 1.624e-06/0.01328, allocations: 0 / 321 MB, free: 10.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.0006127/0.01389, allocations: 381.7 kB / 321.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.01392, allocations: 60.06 kB / 321.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.01446, allocations: 0.9792 MB / 322.4 MB, free: 9.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.01448, allocations: 37.7 kB / 322.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.01469, allocations: 0.5097 MB / 322.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.01479, allocations: 237.9 kB / 323.2 MB, free: 8.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.109e-05/0.01488, allocations: 114.3 kB / 323.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.01495, allocations: 333.9 kB / 323.6 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.01502, allocations: 60.11 kB / 323.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.01514, allocations: 160.5 kB / 323.8 MB, free: 7.852 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.01537, allocations: 301 kB / 324.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.01537, allocations: 0 / 324.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0003079/0.01568, allocations: 359.8 kB / 324.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.01569, allocations: 7.938 kB / 324.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.0157, allocations: 4 kB / 324.5 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01571, allocations: 11.98 kB / 324.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.01594, allocations: 123.8 kB / 324.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01595, allocations: 4 kB / 324.6 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.01606, allocations: 55.88 kB / 324.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.01607, allocations: 24 kB / 324.7 MB, free: 6.938 MB / 298.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 (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 (82): * Single equations (assignments): 82 * 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.0001499/0.01622, allocations: 148.5 kB / 324.8 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/0.0163, allocations: 95.89 kB / 324.9 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.01668, allocations: 416.1 kB / 325.3 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01668, allocations: 8 kB / 325.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.01669, allocations: 0 / 325.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01669, allocations: 0 / 325.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007191/0.01741, allocations: 0.9039 MB / 326.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01741, allocations: 4 kB / 326.3 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.01763, allocations: 107.8 kB / 326.4 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01764, allocations: 11.94 kB / 326.4 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.01765, allocations: 11.98 kB / 326.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.01766, allocations: 4 kB / 326.4 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01766, allocations: 0 / 326.4 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.01807, allocations: 0.5584 MB / 326.9 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.01815, allocations: 122.9 kB / 327.1 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.01819, allocations: 15.94 kB / 327.1 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.01828, allocations: 16 kB / 327.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.01833, allocations: 36.58 kB / 327.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.01835, allocations: 12 kB / 327.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003101/0.01866, allocations: 0.5019 MB / 327.6 MB, free: 3.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01866, allocations: 0 / 327.6 MB, free: 3.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.01892, allocations: 215.2 kB / 327.9 MB, free: 3.699 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0001037/0.01903, allocations: 98.62 kB / 328 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.01928, allocations: 275.6 kB / 328.2 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/0.0193, allocations: 16.56 kB / 328.2 MB, free: 3.309 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.01942, allocations: 149.8 kB / 328.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.01992, allocations: 94.66 kB / 328.5 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.02164, allocations: 2.249 MB / 330.7 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.02183, allocations: 337 kB / 331.1 MB, free: 440 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.02196, allocations: 68.44 kB / 331.1 MB, free: 372 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.02209, allocations: 115.4 kB / 331.2 MB, free: 256 kB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.02209, allocations: 0 / 331.2 MB, free: 256 kB / 298.7 MB Notification: Performance of Templates: time 0.008675/0.03076, allocations: 4.78 MB / 336 MB, free: 11.53 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.62901547877118]