Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.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.001656/0.001656, allocations: 110.2 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.001956/0.001956, allocations: 192.6 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.312/1.312, allocations: 225.6 MB / 251 MB, free: 13.02 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.1709/0.1709, allocations: 29.23 MB / 335.5 MB, free: 11.33 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.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") translateModel(SystemDynamics.WorldDynamics.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.89 kB / 470.4 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2558, allocations: 59.61 MB / 0.5176 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.00364/0.2595, allocations: 3.74 MB / 0.5212 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2607, allocations: 0.8641 MB / 0.522 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.261, allocations: 20.22 kB / 0.5221 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.2613, allocations: 163.6 kB / 0.5222 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.2615, allocations: 120 kB / 0.5223 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006661/0.2622, allocations: 456.3 kB / 0.5228 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007985/0.263, allocations: 1.024 MB / 0.5238 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005799/0.2636, allocations: 0.5064 MB / 0.5243 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.2638, allocations: 384.9 kB / 0.5246 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.2641, allocations: 423.8 kB / 0.525 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.2642, allocations: 115.8 kB / 0.5251 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.2644, allocations: 154.3 kB / 0.5253 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.2646, allocations: 311.7 kB / 0.5256 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.2648, allocations: 0.5424 MB / 0.5261 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009896/0.2658, allocations: 1.274 MB / 0.5274 GB, free: 3.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2658, allocations: 1.781 kB / 0.5274 GB, free: 3.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2658, allocations: 0 / 0.5274 GB, free: 3.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.2658, allocations: 0 / 0.5274 GB, free: 3.512 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.001505/0.2673, allocations: 1.353 MB / 0.5287 GB, free: 2.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.2674, allocations: 8.75 kB / 0.5287 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.2675, allocations: 147.5 kB / 0.5288 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008325/0.2684, allocations: 0.6554 MB / 0.5295 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.948e-05/0.2684, allocations: 87.86 kB / 0.5296 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.2685, allocations: 110.2 kB / 0.5297 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.2701, allocations: 1.088 MB / 0.5307 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.2701, allocations: 1.469 kB / 0.5307 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.2702, allocations: 50.91 kB / 0.5308 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.2702, allocations: 39.66 kB / 0.5308 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.2713, allocations: 0.7044 MB / 0.5315 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.2751, allocations: 4.024 MB / 0.5354 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/0.2759, allocations: 444.3 kB / 0.5359 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.2761, allocations: 185 kB / 0.536 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.2762, allocations: 18.38 kB / 0.5361 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.2762, allocations: 41.45 kB / 0.5361 GB, free: 14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.382e-06/0.2762, allocations: 0 / 0.5361 GB, free: 14 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009929/0.2772, allocations: 0.6513 MB / 0.5367 GB, free: 13.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2772, allocations: 59.17 kB / 0.5368 GB, free: 13.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007768/0.278, allocations: 0.6679 MB / 0.5374 GB, free: 13.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.278, allocations: 36.45 kB / 0.5375 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000435/0.2785, allocations: 0.5954 MB / 0.5381 GB, free: 12.92 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.2786, allocations: 134.4 kB / 0.5382 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.2787, allocations: 107 kB / 0.5383 GB, free: 12.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2789, allocations: 328.9 kB / 0.5386 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.2792, allocations: 203.4 kB / 0.5388 GB, free: 12.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.2796, allocations: 357.1 kB / 0.5391 GB, free: 12.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007518/0.2804, allocations: 0.5812 MB / 0.5397 GB, free: 11.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2804, allocations: 1.438 kB / 0.5397 GB, free: 11.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009594/0.2813, allocations: 0.6683 MB / 0.5404 GB, free: 11.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2813, allocations: 7.469 kB / 0.5404 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2813, allocations: 5.375 kB / 0.5404 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2814, allocations: 8.109 kB / 0.5404 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.2817, allocations: 103.8 kB / 0.5405 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.2817, allocations: 12.38 kB / 0.5405 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.282, allocations: 53.7 kB / 0.5405 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.282, allocations: 25.44 kB / 0.5406 GB, free: 11.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 10 (Fert_Cont_Facil_PC.Smooth3.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth2.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth1.Integrator1.local_reset,Perc_Life_Expectancy.Smooth3.Integrator1.local_reset,Perc_Life_Expectancy.Smooth2.Integrator1.local_reset,Perc_Life_Expectancy.Smooth1.Integrator1.local_reset,Del_Ind_Out_PC.Smooth3.Integrator1.local_reset,Del_Ind_Out_PC.Smooth2.Integrator1.local_reset,Del_Ind_Out_PC.Smooth1.Integrator1.local_reset,Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0003735/0.2824, allocations: 283.2 kB / 0.5408 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/0.2825, allocations: 72.17 kB / 0.5409 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008585/0.2833, allocations: 0.5198 MB / 0.5414 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2833, allocations: 7.719 kB / 0.5414 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2833, allocations: 0 / 0.5414 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2834, allocations: 3.016 kB / 0.5414 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009741/0.2843, allocations: 0.8258 MB / 0.5422 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2843, allocations: 0 / 0.5422 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.2847, allocations: 67.12 kB / 0.5423 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.2847, allocations: 1 kB / 0.5423 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.2847, allocations: 12.62 kB / 0.5423 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2847, allocations: 2.562 kB / 0.5423 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2847, allocations: 3.938 kB / 0.5423 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.2857, allocations: 0.8456 MB / 0.5431 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.2859, allocations: 68.83 kB / 0.5432 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.2859, allocations: 11.03 kB / 0.5432 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.2861, allocations: 7.969 kB / 0.5432 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.115e-05/0.2862, allocations: 21.67 kB / 0.5432 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.2862, allocations: 14.25 kB / 0.5432 GB, free: 9.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005388/0.2867, allocations: 471.8 kB / 0.5437 GB, free: 9.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2867, allocations: 0 / 0.5437 GB, free: 9.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005527/0.2873, allocations: 201.8 kB / 0.5439 GB, free: 9.594 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.y,Del_Ind_Out_PC.Smooth1.Integrator1.y,Del_Ind_Out_PC.Smooth2.Integrator1.y,Del_Ind_Out_PC.Smooth3.Integrator1.y,Perc_Life_Expectancy.Smooth1.Integrator1.y,Perc_Life_Expectancy.Smooth2.Integrator1.y,Perc_Life_Expectancy.Smooth3.Integrator1.y,Fert_Cont_Facil_PC.Smooth1.Integrator1.y,Fert_Cont_Facil_PC.Smooth2.Integrator1.y,Fert_Cont_Facil_PC.Smooth3.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 (36): * Single equations (assignments): 36 * 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.0001621/0.2874, allocations: 116.3 kB / 0.544 GB, free: 9.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007222/0.2882, allocations: 471.7 kB / 0.5445 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2882, allocations: 0 / 0.5445 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.2885, allocations: 218.1 kB / 0.5447 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.2891, allocations: 110.9 kB / 0.5448 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.2917, allocations: 1.809 MB / 0.5465 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.2923, allocations: 1.07 MB / 0.5476 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.2925, allocations: 63.02 kB / 0.5476 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.2926, allocations: 40.5 kB / 0.5477 GB, free: 7.156 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2926, allocations: 0 / 0.5477 GB, free: 7.156 MB / 398.1 MB Notification: Performance of Templates: time 0.01094/0.3036, allocations: 5.067 MB / 0.5526 GB, free: 4.672 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.457215393893421] Failed to read output from testmodel.py, exit status != 0: 0.31111163180321455 0.32440879399999994 0.055800028 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa4f933d7b0>