Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World3.Scenario_4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) 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.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Scenario_4") translateModel(SystemDynamics.WorldDynamics.World3.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Scenario_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 110.5 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 183.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2067/0.2067, allocations: 28.78 MB / 320 MB, free: 1.914 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.203e-05/4.204e-05, allocations: 2.281 kB / 445 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Scenario_4): time 0.02486/0.02492, allocations: 19.12 MB / 464.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02273/0.0477, allocations: 7.263 MB / 471.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01162/0.05938, allocations: 111.4 kB / 471.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006025/0.06547, allocations: 0.9629 MB / 472.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009548/0.07505, allocations: 0.8443 MB / 473.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01145/0.08658, allocations: 3.63 MB / 476.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01902/0.1056, allocations: 8.393 MB / 485.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01442/0.1201, allocations: 4.683 MB / 490 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007501/0.1277, allocations: 2.595 MB / 492.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006034/0.1338, allocations: 2.848 MB / 495.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004428/0.1382, allocations: 0.8828 MB / 496.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.1414, allocations: 0.914 MB / 497.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.009991/0.1515, allocations: 10.7 MB / 0.496 GB, free: 3.246 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.005963/0.1575, allocations: 7 MB / 0.5028 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003289/0.1608, allocations: 1.179 MB / 0.504 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.002975/0.1638, allocations: 0.6 MB / 0.5046 GB, free: 10.34 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1685 (1685) * Number of variables: 1685 (1685) Notification: Performance of Bindings: time 0.3969/0.5607, allocations: 34.62 MB / 0.5384 GB, free: 36.96 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.009858/0.5705, allocations: 5.819 MB / 0.5441 GB, free: 35.11 MB / 398.1 MB Notification: Performance of Early Inline: time 0.03295/0.6035, allocations: 17.38 MB / 0.561 GB, free: 23.53 MB / 398.1 MB Notification: Performance of simplify1: time 0.002036/0.6056, allocations: 1.049 MB / 0.5621 GB, free: 22.97 MB / 398.1 MB Notification: Performance of Alias: time 0.06851/0.6741, allocations: 53.82 MB / 0.6146 GB, free: 3.918 MB / 430.1 MB Notification: Performance of simplify2: time 0.001109/0.6753, allocations: 376.4 kB / 0.615 GB, free: 3.562 MB / 430.1 MB Notification: Performance of Events: time 0.002499/0.6778, allocations: 1.931 MB / 0.6169 GB, free: 1.652 MB / 430.1 MB Notification: Performance of Detect States: time 0.002442/0.6803, allocations: 2.093 MB / 0.6189 GB, free: 15.55 MB / 446.1 MB Notification: Performance of Partitioning: time 0.003504/0.6838, allocations: 2.435 MB / 0.6213 GB, free: 12.93 MB / 446.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: Human_Fertility1.Total_Fertility.fert_cont_eff. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) Human_Fertility1.Total_Fertility.total_fertility = min({Human_Fertility1.Total_Fertility.max_tot_fert, Human_Fertility1.Total_Fertility.fert_cont_eff * Human_Fertility1.Total_Fertility.des_tot_fert + (1.0 - Human_Fertility1.Total_Fertility.fert_cont_eff) * Human_Fertility1.Total_Fertility.max_tot_fert}) ($RES_SIM_290)