Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.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.001226/0.001226, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001899/0.003124, 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.00124/0.00124, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.002805, 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.9044/0.9044, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07556/0.9799, allocations: 53.68 MB / 243.4 MB, free: 15.5 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.1122/0.1122, allocations: 21.79 MB / 265.9 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01416/0.1263, allocations: 7.859 MB / 273.8 MB, free: 1.043 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_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 275.1 MB, free: 1.438 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.085e-05, allocations: 3.516 kB / 275.1 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.004737/0.004758, allocations: 3.21 MB / 278.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.007106, allocations: 0.7453 MB / 279.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005544/0.007661, allocations: 22.81 kB / 279.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.00812, allocations: 177.3 kB / 279.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.008546, allocations: 148.6 kB / 279.4 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008307/0.009377, allocations: 356.7 kB / 279.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.01047, allocations: 0.8208 MB / 280.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007776/0.01125, allocations: 488.8 kB / 281.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007629/0.01201, allocations: 0.5943 MB / 281.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004548/0.01247, allocations: 295.4 kB / 282 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.01266, allocations: 89.75 kB / 282 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.01294, allocations: 124.6 kB / 282.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004146/0.01335, allocations: 410 kB / 282.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.01366, allocations: 272.7 kB / 282.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.0148, allocations: 0.8672 MB / 283.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.547e-05/0.01482, allocations: 1.062 kB / 283.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01482, allocations: 0 / 283.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.718e-05/0.01488, allocations: 4 kB / 283.7 MB, free: 13.15 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.002859/0.01774, allocations: 2.035 MB / 285.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.01777, allocations: 9.844 kB / 285.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.01812, allocations: 202 kB / 286 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.01895, allocations: 0.6358 MB / 286.6 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.858e-05/0.01903, allocations: 85.36 kB / 286.7 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.01915, allocations: 105.3 kB / 286.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.02028, allocations: 0.7547 MB / 287.5 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.02031, allocations: 1.562 kB / 287.5 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.02037, allocations: 42 kB / 287.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.035e-05/0.02044, allocations: 48.36 kB / 287.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.02097, allocations: 312 kB / 287.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.02427, allocations: 2.448 MB / 290.4 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.02486, allocations: 371.3 kB / 290.7 MB, free: 8.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.02502, allocations: 107.4 kB / 290.8 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/0.0251, allocations: 35.22 kB / 290.9 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.02514, allocations: 39.5 kB / 290.9 MB, free: 8.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=70): time 3.667e-06/0.02514, allocations: 4 kB / 290.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=70): time 0.0006699/0.02581, allocations: 383.5 kB / 291.3 MB, free: 8.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.02586, allocations: 86.14 kB / 291.4 MB, free: 8.672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.02695, allocations: 1.045 MB / 292.4 MB, free: 8.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.02698, allocations: 37.05 kB / 292.5 MB, free: 8.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005015/0.02749, allocations: 0.5906 MB / 293 MB, free: 7.496 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.02765, allocations: 253.8 kB / 293.3 MB, free: 7.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.02782, allocations: 142.5 kB / 293.4 MB, free: 7.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.02793, allocations: 341.9 kB / 293.8 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.02809, allocations: 88.91 kB / 293.9 MB, free: 6.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.02838, allocations: 342.4 kB / 294.2 MB, free: 6.227 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.02894, allocations: 0.5204 MB / 294.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.02894, allocations: 8 kB / 294.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.000717/0.02966, allocations: 0.4916 MB / 295.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.02969, allocations: 17.55 kB / 295.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.0297, allocations: 8 kB / 295.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.02972, allocations: 12.81 kB / 295.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.03027, allocations: 203.7 kB / 295.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.03029, allocations: 19.92 kB / 295.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.0306, allocations: 81.97 kB / 295.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.03065, allocations: 32 kB / 295.6 MB, free: 4.723 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 109 * 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.0002964/0.03095, allocations: 170.9 kB / 295.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.03111, allocations: 103.8 kB / 295.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009363/0.03204, allocations: 455.1 kB / 296.3 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.03205, allocations: 4 kB / 296.3 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.03205, allocations: 4 kB / 296.3 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.03206, allocations: 3.984 kB / 296.3 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.03344, allocations: 0.9238 MB / 297.2 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.03344, allocations: 0 / 297.2 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.03386, allocations: 135.8 kB / 297.4 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.034, allocations: 134.8 kB / 297.5 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.034, allocations: 4 kB / 297.5 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.03404, allocations: 15.94 kB / 297.5 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.03404, allocations: 2.891 kB / 297.5 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.03404, allocations: 0 / 297.5 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.03475, allocations: 0.6673 MB / 298.2 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-05/0.03483, allocations: 12 kB / 298.2 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.03505, allocations: 8 kB / 298.2 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.03513, allocations: 48.56 kB / 298.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.03516, allocations: 16 kB / 298.3 MB, free: 1.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005881/0.03575, allocations: 0.5236 MB / 298.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03575, allocations: 0 / 298.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006832/0.03643, allocations: 223.2 kB / 299 MB, free: 1.238 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (70): * Single equations (assignments): 70 * 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.000187/0.03662, allocations: 109.5 kB / 299.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005018/0.03712, allocations: 358.9 kB / 299.5 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.339e-05/0.03715, allocations: 24.48 kB / 299.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.03743, allocations: 204.1 kB / 299.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/0.03817, allocations: 319.5 kB / 300 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.04206, allocations: 2.46 MB / 302.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.0424, allocations: 349.2 kB / 302.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002987/0.0427, allocations: 96.88 kB / 302.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.04292, allocations: 135.3 kB / 303 MB, free: 13.09 MB / 298.7 MB Notification: Performance of SimCode: time 1.233e-06/0.04292, allocations: 0 / 303 MB, free: 13.09 MB / 298.7 MB Notification: Performance of Templates: time 0.0118/0.05473, allocations: 5.038 MB / 308.1 MB, free: 8.117 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6743916058912873]