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.0006832/0.0006832, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009365/0.00162, allocations: 440 kB / 10.41 MB, free: 284 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.0006649/0.0006649, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008773/0.001542, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9319/0.9319, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07883/1.011, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.1221/0.1221, allocations: 21.8 MB / 265.9 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01097/0.1331, allocations: 7.859 MB / 273.8 MB, free: 1.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 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.284e-06/2.284e-06, allocations: 0 / 275.1 MB, free: 1.426 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/2.043e-05, allocations: 5.812 kB / 275.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.004416/0.004436, allocations: 3.188 MB / 278.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.006602, allocations: 0.7363 MB / 279.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.007062, allocations: 18.5 kB / 279.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.007484, allocations: 186.2 kB / 279.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.007851, allocations: 133.3 kB / 279.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007602/0.008611, allocations: 353.9 kB / 279.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.009625, allocations: 0.8175 MB / 280.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007293/0.01035, allocations: 488.5 kB / 281 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006992/0.01105, allocations: 0.5815 MB / 281.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.01146, allocations: 296 kB / 281.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.01163, allocations: 85.62 kB / 282 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.01188, allocations: 117.8 kB / 282.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.01223, allocations: 395.3 kB / 282.5 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.01246, allocations: 264.2 kB / 282.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009565/0.01342, allocations: 0.8334 MB / 283.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-05/0.01344, allocations: 1.031 kB / 283.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01344, allocations: 0 / 283.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.01346, allocations: 4 kB / 283.6 MB, free: 13.21 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.002218/0.01568, allocations: 1.998 MB / 285.6 MB, free: 12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.01571, allocations: 9.531 kB / 285.6 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.01597, allocations: 198.4 kB / 285.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.01672, allocations: 0.6294 MB / 286.4 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/0.01679, allocations: 76.94 kB / 286.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.0169, allocations: 107.2 kB / 286.6 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009725/0.01787, allocations: 0.711 MB / 287.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.0179, allocations: 1.531 kB / 287.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.01795, allocations: 42.53 kB / 287.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.01798, allocations: 25.56 kB / 287.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.01848, allocations: 253.8 kB / 287.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.02138, allocations: 2.244 MB / 289.9 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.02195, allocations: 342.9 kB / 290.2 MB, free: 9.355 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.02211, allocations: 96.3 kB / 290.3 MB, free: 9.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.063e-05/0.02219, allocations: 24.98 kB / 290.3 MB, free: 9.316 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.02222, allocations: 38.91 kB / 290.4 MB, free: 9.273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 2.505e-06/0.02223, allocations: 0 / 290.4 MB, free: 9.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.0006215/0.02285, allocations: 376.1 kB / 290.7 MB, free: 9.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.02289, allocations: 63.14 kB / 290.8 MB, free: 9.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.0239, allocations: 0.9751 MB / 291.8 MB, free: 8.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.0241, allocations: 40.42 kB / 291.8 MB, free: 8.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.02447, allocations: 0.5073 MB / 292.3 MB, free: 8.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.02462, allocations: 240.2 kB / 292.5 MB, free: 7.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.02476, allocations: 105 kB / 292.6 MB, free: 7.789 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.02486, allocations: 335.3 kB / 293 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.02499, allocations: 64.78 kB / 293 MB, free: 7.441 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.0254, allocations: 168.6 kB / 293.2 MB, free: 7.316 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.02574, allocations: 298.2 kB / 293.5 MB, free: 7.016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.02574, allocations: 4 kB / 293.5 MB, free: 7.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005176/0.02626, allocations: 359.8 kB / 293.9 MB, free: 6.652 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.02628, allocations: 11.88 kB / 293.9 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.02629, allocations: 4 kB / 293.9 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.02631, allocations: 4 kB / 293.9 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.02661, allocations: 147.8 kB / 294 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.02662, allocations: 17.38 kB / 294 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.02677, allocations: 55.88 kB / 294.1 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.02679, allocations: 20 kB / 294.1 MB, free: 6.402 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.0003151/0.0271, allocations: 146.8 kB / 294.2 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.02719, allocations: 96.5 kB / 294.3 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.02762, allocations: 414.3 kB / 294.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.02762, allocations: 4 kB / 294.8 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.02762, allocations: 0 / 294.8 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.02763, allocations: 7.984 kB / 294.8 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.02855, allocations: 0.9 MB / 295.7 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.02856, allocations: 0 / 295.7 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.02882, allocations: 131.8 kB / 295.8 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.02891, allocations: 138.8 kB / 295.9 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.02891, allocations: 0 / 295.9 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.02893, allocations: 16 kB / 295.9 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.02894, allocations: 4 kB / 295.9 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02894, allocations: 0 / 295.9 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.02941, allocations: 0.5545 MB / 296.5 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.02946, allocations: 15.94 kB / 296.5 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.02957, allocations: 12 kB / 296.5 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.02962, allocations: 40.52 kB / 296.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.02964, allocations: 19.98 kB / 296.6 MB, free: 3.859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003723/0.03001, allocations: 0.498 MB / 297.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03001, allocations: 0 / 297.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.03037, allocations: 207.2 kB / 297.3 MB, free: 3.156 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.0001604/0.03053, allocations: 100.3 kB / 297.4 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.0308, allocations: 281.2 kB / 297.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/0.03082, allocations: 19.94 kB / 297.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.03098, allocations: 203 kB / 297.9 MB, free: 2.555 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.03141, allocations: 286.4 kB / 298.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.03392, allocations: 2.377 MB / 300.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.03414, allocations: 341 kB / 300.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.03428, allocations: 76.34 kB / 300.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.03442, allocations: 123.3 kB / 301.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of SimCode: time 7.42e-07/0.03442, allocations: 0 / 301.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of Templates: time 0.009126/0.04354, allocations: 4.778 MB / 305.8 MB, free: 10.55 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.615666976198554]