Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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.001461/0.001461, allocations: 110 kB / 18.93 MB, free: 2.945 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.00152/0.00152, allocations: 186.8 kB / 22.23 MB, free: 5.16 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.323/1.323, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 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.1756/0.1756, allocations: 29.23 MB / 335.5 MB, free: 11.36 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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 71.88 kB / 470.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2907, allocations: 59.62 MB / 0.5176 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.003785/0.2945, allocations: 3.659 MB / 0.5212 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2959, allocations: 0.6721 MB / 0.5218 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.2962, allocations: 23.19 kB / 0.5219 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.2965, allocations: 162.1 kB / 0.522 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.2968, allocations: 130.4 kB / 0.5221 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.2974, allocations: 359.1 kB / 0.5225 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006853/0.2981, allocations: 0.8416 MB / 0.5233 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005717/0.2987, allocations: 0.5043 MB / 0.5238 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.2989, allocations: 342.8 kB / 0.5241 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.2992, allocations: 438.9 kB / 0.5245 GB, free: 5.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.2993, allocations: 84.78 kB / 0.5246 GB, free: 5.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.2995, allocations: 111.9 kB / 0.5247 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.2998, allocations: 457.5 kB / 0.5252 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.3, allocations: 0.6002 MB / 0.5258 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3011, allocations: 1.228 MB / 0.527 GB, free: 4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3011, allocations: 0 / 0.527 GB, free: 4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3011, allocations: 0 / 0.527 GB, free: 4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.3011, allocations: 1.156 kB / 0.527 GB, free: 4 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001701/0.3028, allocations: 1.722 MB / 0.5286 GB, free: 2.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.3028, allocations: 8.594 kB / 0.5286 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.303, allocations: 200.8 kB / 0.5288 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.3038, allocations: 0.6921 MB / 0.5295 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.3038, allocations: 75.11 kB / 0.5296 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.3039, allocations: 100 kB / 0.5297 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.3054, allocations: 1.13 MB / 0.5308 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.3054, allocations: 5.188 kB / 0.5308 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.3055, allocations: 46.22 kB / 0.5308 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.3055, allocations: 24.69 kB / 0.5309 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.3068, allocations: 1.048 MB / 0.5319 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/0.3106, allocations: 3.517 MB / 0.5353 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.3121, allocations: 1.244 MB / 0.5365 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.3126, allocations: 441.9 kB / 0.5369 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.844e-05/0.3126, allocations: 34.7 kB / 0.537 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3127, allocations: 41.66 kB / 0.537 GB, free: 14.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 1.933e-06/0.3127, allocations: 0 / 0.537 GB, free: 14.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.001771/0.3144, allocations: 1.452 MB / 0.5384 GB, free: 14.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.3145, allocations: 59.55 kB / 0.5385 GB, free: 14.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.316, allocations: 1.231 MB / 0.5397 GB, free: 13.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.3161, allocations: 36.45 kB / 0.5397 GB, free: 13.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/0.3167, allocations: 0.7628 MB / 0.5405 GB, free: 13.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.3169, allocations: 240 kB / 0.5407 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.317, allocations: 112.5 kB / 0.5408 GB, free: 12.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3172, allocations: 336.3 kB / 0.5411 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.3177, allocations: 411 kB / 0.5415 GB, free: 12.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.3183, allocations: 0.5105 MB / 0.542 GB, free: 12.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.3193, allocations: 0.9502 MB / 0.543 GB, free: 11.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3193, allocations: 1.344 kB / 0.543 GB, free: 11.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001361/0.3207, allocations: 1.14 MB / 0.5441 GB, free: 11.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3207, allocations: 6.562 kB / 0.5441 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3207, allocations: 1.844 kB / 0.5441 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3207, allocations: 5.469 kB / 0.5441 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.3212, allocations: 124.3 kB / 0.5442 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.3212, allocations: 9.781 kB / 0.5442 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.3214, allocations: 58.64 kB / 0.5443 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.3215, allocations: 22.53 kB / 0.5443 GB, free: 11.29 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 (81): * Single equations (assignments): 81 * 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.0005259/0.322, allocations: 369.2 kB / 0.5446 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.3222, allocations: 152.1 kB / 0.5448 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.3236, allocations: 1.144 MB / 0.5459 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.3236, allocations: 6.875 kB / 0.5459 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3236, allocations: 0 / 0.5459 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.3236, allocations: 5.359 kB / 0.5459 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.3262, allocations: 2.248 MB / 0.5481 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3262, allocations: 0 / 0.5481 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.3266, allocations: 109.5 kB / 0.5482 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3266, allocations: 6.172 kB / 0.5482 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.3266, allocations: 17.72 kB / 0.5482 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3266, allocations: 1.875 kB / 0.5482 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3266, allocations: 1.188 kB / 0.5482 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.3286, allocations: 1.795 MB / 0.55 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.3288, allocations: 131 kB / 0.5501 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/0.3289, allocations: 12 kB / 0.5501 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.3291, allocations: 8 kB / 0.5501 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.3291, allocations: 40.58 kB / 0.5502 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.3292, allocations: 27.92 kB / 0.5502 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001022/0.3302, allocations: 0.8597 MB / 0.551 GB, free: 6.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3302, allocations: 0 / 0.551 GB, free: 6.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005362/0.3307, allocations: 207.2 kB / 0.5512 GB, free: 6.578 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 (66): * Single equations (assignments): 66 * 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.0001591/0.3309, allocations: 115.2 kB / 0.5513 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.332, allocations: 0.9156 MB / 0.5522 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.332, allocations: 4.188 kB / 0.5522 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005171/0.3325, allocations: 479.5 kB / 0.5527 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.3331, allocations: 91.25 kB / 0.5528 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.3368, allocations: 2.7 MB / 0.5554 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009558/0.3377, allocations: 1.283 MB / 0.5567 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.3379, allocations: 76.3 kB / 0.5567 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.338, allocations: 47.42 kB / 0.5568 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.338, allocations: 0 / 0.5568 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Templates: time 0.01245/0.3505, allocations: 5.527 MB / 0.5622 GB, free: 11.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.446575565263629] Failed to read output from testmodel.py, exit status != 0: 0.3583416435867548 0.37190461 0.067973727 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb70ff097b0>