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.001158/0.001158, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00112/0.00112, allocations: 169 kB / 23.27 MB, free: 1.223 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.032/1.032, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.1342/0.1342, allocations: 21.81 MB / 282.1 MB, free: 7.047 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 3.056e-06/3.056e-06, allocations: 0 / 359.3 MB, free: 4.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.236e-05, allocations: 6.25 kB / 359.3 MB, free: 4.781 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.005273/0.005305, allocations: 3.133 MB / 362.4 MB, free: 1.633 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.007385, allocations: 0.6701 MB / 363.1 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.007945, allocations: 19.88 kB / 363.1 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.008398, allocations: 174.3 kB / 363.3 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.008775, allocations: 134.8 kB / 363.4 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000856/0.009631, allocations: 367.5 kB / 363.8 MB, free: 284 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009711/0.0106, allocations: 0.8443 MB / 364.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007686/0.01137, allocations: 476.1 kB / 365.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006052/0.01198, allocations: 498.8 kB / 365.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.01233, allocations: 290.8 kB / 365.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.01248, allocations: 84 kB / 365.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.01272, allocations: 116 kB / 366 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.01307, allocations: 458.3 kB / 366.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.01335, allocations: 326.6 kB / 366.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008284/0.01418, allocations: 0.9057 MB / 367.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.01418, allocations: 0 / 367.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01419, allocations: 0 / 367.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.0142, allocations: 0 / 367.7 MB, free: 12.28 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.001421/0.01562, allocations: 1.894 MB / 369.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.01566, allocations: 16.02 kB / 369.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.01588, allocations: 291.6 kB / 369.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.01643, allocations: 0.7097 MB / 370.6 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.01648, allocations: 82.45 kB / 370.7 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.01656, allocations: 100.4 kB / 370.8 MB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.01719, allocations: 0.7165 MB / 371.5 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.01721, allocations: 8.125 kB / 371.5 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.01725, allocations: 44.38 kB / 371.5 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.01727, allocations: 28.38 kB / 371.6 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.01758, allocations: 289.5 kB / 371.9 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.01987, allocations: 3.099 MB / 375 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.02028, allocations: 345.3 kB / 375.3 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.02039, allocations: 101.6 kB / 375.4 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.633e-05/0.02047, allocations: 48.5 kB / 375.4 MB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.02049, allocations: 49.98 kB / 375.5 MB, free: 4.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 1.744e-06/0.02049, allocations: 0 / 375.5 MB, free: 4.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=68): time 0.0005254/0.02102, allocations: 0.5126 MB / 376 MB, free: 3.676 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.02105, allocations: 56.06 kB / 376.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/0.02178, allocations: 1.157 MB / 377.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.02181, allocations: 37.7 kB / 377.3 MB, free: 2.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004396/0.02225, allocations: 0.8623 MB / 378.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.02236, allocations: 245.8 kB / 378.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.02247, allocations: 124.3 kB / 378.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.0226, allocations: 0.4964 MB / 379 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/0.02269, allocations: 73.92 kB / 379 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.02284, allocations: 211.1 kB / 379.3 MB, free: 316 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.02312, allocations: 329.5 kB / 379.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.02312, allocations: 4 kB / 379.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000445/0.02357, allocations: 0.5117 MB / 380.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.02359, allocations: 8 kB / 380.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.02359, allocations: 3.938 kB / 380.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.02361, allocations: 8 kB / 380.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.02387, allocations: 131.8 kB / 380.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.02388, allocations: 11.98 kB / 380.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.02399, allocations: 51.56 kB / 380.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.02402, allocations: 20.31 kB / 380.3 MB, free: 15.18 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 (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 (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.0001784/0.0242, allocations: 195.3 kB / 380.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.0243, allocations: 171 kB / 380.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.02479, allocations: 0.4961 MB / 381.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.0248, allocations: 8 kB / 381.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.0248, allocations: 0 / 381.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.02481, allocations: 3.984 kB / 381.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.02584, allocations: 1.073 MB / 382.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.02584, allocations: 0 / 382.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.0261, allocations: 111.8 kB / 382.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.02611, allocations: 4 kB / 382.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.02613, allocations: 16 kB / 382.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.02613, allocations: 3.984 kB / 382.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02613, allocations: 0 / 382.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.02672, allocations: 0.717 MB / 383.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.02681, allocations: 134.8 kB / 383.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.02686, allocations: 8 kB / 383.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.02697, allocations: 15.98 kB / 383.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.02702, allocations: 40.58 kB / 383.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.02704, allocations: 12 kB / 383.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003941/0.02743, allocations: 0.6495 MB / 384 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02743, allocations: 0 / 384 MB, free: 11.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00038/0.02781, allocations: 211.2 kB / 384.2 MB, free: 11.25 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.0001605/0.02797, allocations: 119.1 kB / 384.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.02829, allocations: 303.1 kB / 384.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.02829, allocations: 0.625 kB / 384.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.02845, allocations: 172.5 kB / 384.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.02885, allocations: 103.4 kB / 384.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.031, allocations: 2.26 MB / 387.1 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.0312, allocations: 325.2 kB / 387.4 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.03134, allocations: 72.36 kB / 387.5 MB, free: 7.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.03149, allocations: 138.2 kB / 387.6 MB, free: 7.707 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.0315, allocations: 0 / 387.6 MB, free: 7.707 MB / 362.7 MB Notification: Performance of Templates: time 0.009364/0.04086, allocations: 4.79 MB / 392.4 MB, free: 2.965 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.049007643945515]