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.0006944/0.0006944, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008336/0.001528, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006643/0.0006643, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008341/0.001498, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9589/0.9589, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07806/1.037, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.116/0.116, allocations: 21.81 MB / 265.8 MB, free: 9 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01165/0.1276, allocations: 7.851 MB / 273.6 MB, free: 1.133 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-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 2.925e-06/2.925e-06, allocations: 0 / 274.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/1.29e-05, allocations: 2.312 kB / 274.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.003575/0.003588, allocations: 3.187 MB / 278.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.005878, allocations: 0.733 MB / 278.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.006256, allocations: 22.09 kB / 278.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.006575, allocations: 178.1 kB / 279.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.00685, allocations: 134.9 kB / 279.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.007441, allocations: 354 kB / 279.5 MB, free: 15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007685/0.00821, allocations: 0.8167 MB / 280.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005575/0.008767, allocations: 489.8 kB / 280.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005439/0.009311, allocations: 0.5817 MB / 281.4 MB, free: 14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.009608, allocations: 294.2 kB / 281.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.009733, allocations: 84.56 kB / 281.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.009945, allocations: 122.4 kB / 281.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003668/0.01031, allocations: 392 kB / 282.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.01057, allocations: 268 kB / 282.5 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.01158, allocations: 0.8315 MB / 283.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.777e-05/0.0116, allocations: 4.656 kB / 283.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.0116, allocations: 1.031 kB / 283.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.798e-05/0.01165, allocations: 4 kB / 283.4 MB, free: 13.3 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.002038/0.01369, allocations: 1.997 MB / 285.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.01372, allocations: 9.625 kB / 285.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.01393, allocations: 197.9 kB / 285.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005638/0.01449, allocations: 0.625 MB / 286.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.01455, allocations: 81.03 kB / 286.3 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/0.01463, allocations: 107.1 kB / 286.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.01532, allocations: 0.7089 MB / 287.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.01534, allocations: 1.219 kB / 287.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.01538, allocations: 42 kB / 287.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.0154, allocations: 30.39 kB / 287.2 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.01572, allocations: 251.8 kB / 287.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.01789, allocations: 2.247 MB / 289.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.01832, allocations: 343.1 kB / 290 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.71e-05/0.01841, allocations: 92.75 kB / 290.1 MB, free: 9.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.556e-05/0.01848, allocations: 32.92 kB / 290.1 MB, free: 9.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.0185, allocations: 41.8 kB / 290.2 MB, free: 9.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 1.723e-06/0.0185, allocations: 1.406 kB / 290.2 MB, free: 9.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.0004241/0.01893, allocations: 368 kB / 290.5 MB, free: 9.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.01896, allocations: 58.47 kB / 290.6 MB, free: 9.199 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006158/0.01958, allocations: 0.9789 MB / 291.6 MB, free: 8.645 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.0196, allocations: 36.92 kB / 291.6 MB, free: 8.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.01984, allocations: 0.5106 MB / 292.1 MB, free: 8.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.01995, allocations: 239.5 kB / 292.3 MB, free: 7.973 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.02005, allocations: 110 kB / 292.4 MB, free: 7.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.02013, allocations: 335.7 kB / 292.8 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.996e-05/0.02021, allocations: 61.48 kB / 292.8 MB, free: 7.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.02033, allocations: 166.5 kB / 293 MB, free: 7.434 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.02059, allocations: 293.1 kB / 293.3 MB, free: 7.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.02059, allocations: 0 / 293.3 MB, free: 7.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0003302/0.02092, allocations: 359.8 kB / 293.6 MB, free: 6.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.02093, allocations: 7.938 kB / 293.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.02094, allocations: 10.86 kB / 293.7 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.02095, allocations: 8 kB / 293.7 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.02122, allocations: 147.8 kB / 293.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.02122, allocations: 6.891 kB / 293.8 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.02133, allocations: 51.94 kB / 293.9 MB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.02135, allocations: 20 kB / 293.9 MB, free: 6.578 MB / 282.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.0001551/0.02151, allocations: 148.5 kB / 294 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.02159, allocations: 95.89 kB / 294.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.02198, allocations: 418.7 kB / 294.5 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.02199, allocations: 7.938 kB / 294.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.02199, allocations: 0 / 294.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.02199, allocations: 7.984 kB / 294.5 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007738/0.02277, allocations: 0.8961 MB / 295.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.02277, allocations: 0 / 295.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.02302, allocations: 129.2 kB / 295.6 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.0231, allocations: 134.8 kB / 295.7 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.02311, allocations: 0 / 295.7 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.02313, allocations: 12 kB / 295.7 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.02313, allocations: 4 kB / 295.7 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02313, allocations: 0 / 295.7 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.02357, allocations: 0.5584 MB / 296.3 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.02362, allocations: 20 kB / 296.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.02371, allocations: 16 kB / 296.3 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.02376, allocations: 40.56 kB / 296.3 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.02377, allocations: 16 kB / 296.4 MB, free: 4.031 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003354/0.02411, allocations: 0.4941 MB / 296.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02411, allocations: 0 / 296.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.02441, allocations: 211.2 kB / 297.1 MB, free: 3.328 MB / 282.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.0001217/0.02453, allocations: 104.3 kB / 297.2 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.0248, allocations: 267.6 kB / 297.4 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.782e-05/0.02482, allocations: 16.62 kB / 297.4 MB, free: 2.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.02495, allocations: 161.8 kB / 297.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.02533, allocations: 132.3 kB / 297.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.02787, allocations: 2.377 MB / 300.1 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.02811, allocations: 341 kB / 300.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.02825, allocations: 72.36 kB / 300.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.02839, allocations: 119.4 kB / 300.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02839, allocations: 0 / 300.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of Templates: time 0.01067/0.03906, allocations: 4.826 MB / 305.5 MB, free: 10.93 MB / 298.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.542424922809005]