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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 194.9 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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.214/0.214, allocations: 29.24 MB / 336 MB, free: 11.45 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001995/0.001995, allocations: 63.91 kB / 470.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3452, allocations: 59.61 MB / 0.518 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.004143/0.3493, allocations: 3.67 MB / 0.5216 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3509, allocations: 0.6806 MB / 0.5222 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003751/0.3513, allocations: 25.84 kB / 0.5222 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.3517, allocations: 172.6 kB / 0.5224 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.352, allocations: 142 kB / 0.5225 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.3527, allocations: 356.6 kB / 0.5229 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009579/0.3537, allocations: 0.8547 MB / 0.5237 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007008/0.3544, allocations: 0.4953 MB / 0.5242 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.3547, allocations: 350.2 kB / 0.5245 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.3551, allocations: 435.4 kB / 0.525 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.3553, allocations: 86.16 kB / 0.525 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.3555, allocations: 115.4 kB / 0.5251 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004063/0.3559, allocations: 440.4 kB / 0.5256 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003888/0.3563, allocations: 0.619 MB / 0.5262 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.3577, allocations: 1.261 MB / 0.5274 GB, free: 3.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3577, allocations: 1.594 kB / 0.5274 GB, free: 3.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3577, allocations: 0 / 0.5274 GB, free: 3.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.3577, allocations: 0.7969 kB / 0.5274 GB, free: 3.836 MB / 382.1 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.0022/0.3599, allocations: 1.779 MB / 0.5291 GB, free: 2.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.36, allocations: 8.812 kB / 0.5291 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003062/0.3603, allocations: 208.1 kB / 0.5293 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.3612, allocations: 0.7061 MB / 0.53 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.859e-05/0.3613, allocations: 76.36 kB / 0.5301 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.3614, allocations: 114 kB / 0.5302 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.3633, allocations: 1.166 MB / 0.5314 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.3633, allocations: 192 / 0.5314 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/0.3634, allocations: 49.75 kB / 0.5314 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.3634, allocations: 25.03 kB / 0.5314 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.365, allocations: 1.094 MB / 0.5325 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004954/0.37, allocations: 3.556 MB / 0.536 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.3718, allocations: 1.313 MB / 0.5373 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/0.3725, allocations: 467.6 kB / 0.5377 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.259e-05/0.3725, allocations: 22.16 kB / 0.5377 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.3726, allocations: 42.31 kB / 0.5378 GB, free: 14.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=68): time 2.365e-06/0.3726, allocations: 4 kB / 0.5378 GB, free: 14.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=68): time 0.002278/0.3749, allocations: 1.543 MB / 0.5393 GB, free: 14.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.3749, allocations: 58.78 kB / 0.5393 GB, free: 14.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.3767, allocations: 1.284 MB / 0.5406 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.3767, allocations: 40.23 kB / 0.5406 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006905/0.3774, allocations: 0.779 MB / 0.5414 GB, free: 12.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.3777, allocations: 244.9 kB / 0.5416 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.3778, allocations: 122.1 kB / 0.5417 GB, free: 12.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.378, allocations: 335.2 kB / 0.542 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006045/0.3786, allocations: 437 kB / 0.5425 GB, free: 12.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/0.3793, allocations: 0.5348 MB / 0.543 GB, free: 11.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.3806, allocations: 1.004 MB / 0.544 GB, free: 11.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3807, allocations: 1.031 kB / 0.544 GB, free: 11.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001746/0.3824, allocations: 1.194 MB / 0.5451 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.3824, allocations: 12.8 kB / 0.5451 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3824, allocations: 3.156 kB / 0.5452 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3825, allocations: 5.875 kB / 0.5452 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.3829, allocations: 130.1 kB / 0.5453 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.3829, allocations: 9.953 kB / 0.5453 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.3833, allocations: 53.08 kB / 0.5453 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.3833, allocations: 34.97 kB / 0.5454 GB, free: 10.9 MB / 398.1 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 (CIAF.Integrator1.local_reset,Pollution.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Population.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.0006649/0.384, allocations: 378.6 kB / 0.5457 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.3842, allocations: 146.9 kB / 0.5459 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.3859, allocations: 1.201 MB / 0.547 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.3859, allocations: 7.188 kB / 0.5471 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.3859, allocations: 3.984 kB / 0.5471 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3859, allocations: 1.281 kB / 0.5471 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/0.3891, allocations: 2.348 MB / 0.5494 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3891, allocations: 0 / 0.5494 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.3896, allocations: 108.7 kB / 0.5495 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3896, allocations: 2.469 kB / 0.5495 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.3896, allocations: 18.42 kB / 0.5495 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.3896, allocations: 5.281 kB / 0.5495 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3896, allocations: 5.281 kB / 0.5495 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.3919, allocations: 1.892 MB / 0.5513 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.3921, allocations: 134.9 kB / 0.5515 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.382e-05/0.3922, allocations: 8 kB / 0.5515 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.3924, allocations: 12 kB / 0.5515 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.3925, allocations: 44.52 kB / 0.5515 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.3926, allocations: 27.98 kB / 0.5516 GB, free: 6.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001247/0.3938, allocations: 0.8887 MB / 0.5524 GB, free: 5.844 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3938, allocations: 0 / 0.5524 GB, free: 5.844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006461/0.3945, allocations: 215.2 kB / 0.5526 GB, free: 5.633 MB / 398.1 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.0002079/0.3947, allocations: 123.1 kB / 0.5527 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.396, allocations: 0.9666 MB / 0.5537 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.3961, allocations: 4 kB / 0.5537 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.3967, allocations: 0.4956 MB / 0.5542 GB, free: 4.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/0.3973, allocations: 99.36 kB / 0.5543 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.4015, allocations: 2.81 MB / 0.557 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.4025, allocations: 1.315 MB / 0.5583 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.4027, allocations: 76.39 kB / 0.5584 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.4029, allocations: 47.44 kB / 0.5584 GB, free: 15.64 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4029, allocations: 3.938 kB / 0.5584 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Templates: time 0.01351/0.4164, allocations: 5.652 MB / 0.5639 GB, free: 9.984 MB / 414.1 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=480 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.998201051959768] Failed to read output from testmodel.py, exit status != 0: 0.4249388739699498 0.43925160100000005 0.07852813900000001 Calling exit ...