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.0009126/0.0009126, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001295/0.002208, 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.001079/0.001079, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008929/0.001972, 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.9324/0.9324, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08193/1.014, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.1161/0.1161, allocations: 21.81 MB / 265.8 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01231/0.1285, allocations: 7.843 MB / 273.6 MB, free: 1.125 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_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 2.445e-06/2.445e-06, allocations: 0 / 274.9 MB, free: 1.406 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06e-05/1.305e-05, allocations: 2.312 kB / 274.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.003251/0.003264, allocations: 3.194 MB / 278.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.005169, allocations: 0.7379 MB / 278.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/0.005633, allocations: 23.22 kB / 278.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.005991, allocations: 171.1 kB / 279.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.006292, allocations: 137.6 kB / 279.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006251/0.006917, allocations: 359 kB / 279.5 MB, free: 15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008883/0.007805, allocations: 0.8141 MB / 280.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005664/0.008372, allocations: 485.5 kB / 280.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000592/0.008964, allocations: 0.5903 MB / 281.4 MB, free: 14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.009253, allocations: 296.6 kB / 281.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.009375, allocations: 84.91 kB / 281.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.009588, allocations: 116.6 kB / 281.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.009874, allocations: 396.4 kB / 282.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.01009, allocations: 273.1 kB / 282.6 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008101/0.0109, allocations: 0.8369 MB / 283.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.604e-05/0.01091, allocations: 0 / 283.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01091, allocations: 0 / 283.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.149e-05/0.01097, allocations: 1.062 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002114/0.01308, allocations: 1.992 MB / 285.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.01311, allocations: 9.688 kB / 285.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.01336, allocations: 202.7 kB / 285.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.01396, allocations: 0.6312 MB / 286.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/0.01402, allocations: 76.83 kB / 286.3 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-05/0.01411, allocations: 109.6 kB / 286.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/0.01489, allocations: 0.7026 MB / 287.1 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.0149, allocations: 1.625 kB / 287.1 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.01494, allocations: 44.56 kB / 287.2 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.01496, allocations: 26.31 kB / 287.2 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.01529, allocations: 259.5 kB / 287.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.01753, allocations: 2.249 MB / 289.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.01795, allocations: 352 kB / 290 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.01805, allocations: 93.83 kB / 290.1 MB, free: 9.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.35e-05/0.01811, allocations: 29.23 kB / 290.1 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.01814, allocations: 42.91 kB / 290.2 MB, free: 9.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=68): time 1.432e-06/0.01814, allocations: 3.938 kB / 290.2 MB, free: 9.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=68): time 0.0004383/0.01858, allocations: 366.6 kB / 290.6 MB, free: 9.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.01861, allocations: 60.66 kB / 290.6 MB, free: 9.176 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007001/0.01931, allocations: 0.9789 MB / 291.6 MB, free: 8.617 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.01934, allocations: 40.36 kB / 291.6 MB, free: 8.574 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.01959, allocations: 0.5072 MB / 292.1 MB, free: 8.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.0197, allocations: 241.2 kB / 292.4 MB, free: 7.945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.0198, allocations: 114 kB / 292.5 MB, free: 7.871 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.01989, allocations: 331 kB / 292.8 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.01998, allocations: 65.98 kB / 292.9 MB, free: 7.527 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.02011, allocations: 169 kB / 293 MB, free: 7.398 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.02036, allocations: 293.2 kB / 293.3 MB, free: 7.121 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.02036, allocations: 0 / 293.3 MB, free: 7.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0003191/0.02068, allocations: 367.9 kB / 293.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.02069, allocations: 7.938 kB / 293.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.0207, allocations: 5.828 kB / 293.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.02071, allocations: 4 kB / 293.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.02097, allocations: 157.6 kB / 293.9 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.02098, allocations: 6.891 kB / 293.9 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.02109, allocations: 51.56 kB / 293.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.02111, allocations: 16 kB / 293.9 MB, free: 6.516 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 (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.0001588/0.02127, allocations: 159.2 kB / 294.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.981e-05/0.02135, allocations: 95.84 kB / 294.2 MB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.02173, allocations: 424.1 kB / 294.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.02174, allocations: 4 kB / 294.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.02174, allocations: 0 / 294.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.02174, allocations: 3.984 kB / 294.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008151/0.02256, allocations: 0.9 MB / 295.5 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.02256, allocations: 4 kB / 295.5 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.0228, allocations: 123.8 kB / 295.6 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.02288, allocations: 134.8 kB / 295.8 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.02289, allocations: 4 kB / 295.8 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.02291, allocations: 19.98 kB / 295.8 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.02291, allocations: 7.938 kB / 295.8 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.02291, allocations: 0 / 295.8 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.02334, allocations: 0.57 MB / 296.4 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.02339, allocations: 12 kB / 296.4 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.02348, allocations: 14.34 kB / 296.4 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.02354, allocations: 40.58 kB / 296.4 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.02355, allocations: 20.05 kB / 296.4 MB, free: 3.941 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003178/0.02387, allocations: 0.4939 MB / 296.9 MB, free: 3.445 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02387, allocations: 0 / 296.9 MB, free: 3.445 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.02416, allocations: 215.2 kB / 297.1 MB, free: 3.234 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 (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.0001187/0.02428, allocations: 100.3 kB / 297.2 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.02455, allocations: 272.3 kB / 297.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/0.02456, allocations: 16 kB / 297.5 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.02468, allocations: 158.4 kB / 297.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.02504, allocations: 129.8 kB / 297.8 MB, free: 2.566 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.0274, allocations: 2.374 MB / 300.2 MB, free: 148 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.02762, allocations: 341 kB / 300.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000138/0.02776, allocations: 76.36 kB / 300.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.02789, allocations: 115.4 kB / 300.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02789, allocations: 0 / 300.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of Templates: time 0.00891/0.0368, allocations: 4.85 MB / 305.5 MB, free: 10.82 MB / 298.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: 2.529803678393364]