Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World3.Scenario_2.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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World3.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Scenario_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 109.1 kB / 16.42 MB, free: 6.48 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.001194/0.001194, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.457/1.457, 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.2125/0.2125, allocations: 28.78 MB / 320 MB, free: 1.906 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.826e-05/3.825e-05, allocations: 5.656 kB / 445 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Scenario_2): time 0.02479/0.02485, allocations: 19.11 MB / 464.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02364/0.04858, allocations: 7.259 MB / 471.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009592/0.05824, allocations: 111.5 kB / 471.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005673/0.06396, allocations: 0.9707 MB / 472.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009146/0.07314, allocations: 0.8404 MB / 473.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01135/0.0846, allocations: 3.626 MB / 476.9 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01624/0.1009, allocations: 8.401 MB / 485.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01305/0.114, allocations: 4.68 MB / 490 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005972/0.12, allocations: 2.606 MB / 492.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005327/0.1253, allocations: 2.836 MB / 495.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004791/0.1302, allocations: 0.8828 MB / 496.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.1339, allocations: 0.9179 MB / 497.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0106/0.1445, allocations: 10.7 MB / 0.496 GB, free: 3.234 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.006621/0.1512, allocations: 7 MB / 0.5028 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00475/0.156, allocations: 1.179 MB / 0.504 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.00398/0.16, 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.4268/0.5868, allocations: 34.61 MB / 0.5384 GB, free: 36.36 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.01205/0.5989, allocations: 5.823 MB / 0.5441 GB, free: 34.86 MB / 398.1 MB Notification: Performance of Early Inline: time 0.03663/0.6356, allocations: 17.37 MB / 0.561 GB, free: 23.29 MB / 398.1 MB Notification: Performance of simplify1: time 0.002783/0.6384, allocations: 1.057 MB / 0.5621 GB, free: 22.73 MB / 398.1 MB Notification: Performance of Alias: time 0.0747/0.7131, allocations: 53.82 MB / 0.6146 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simplify2: time 0.001242/0.7144, allocations: 374 kB / 0.615 GB, free: 3.43 MB / 430.1 MB Notification: Performance of Events: time 0.00268/0.7171, allocations: 1.936 MB / 0.6169 GB, free: 1.516 MB / 430.1 MB Notification: Performance of Detect States: time 0.002734/0.7199, allocations: 2.086 MB / 0.6189 GB, free: 15.42 MB / 446.1 MB Notification: Performance of Partitioning: time 0.004143/0.724, allocations: 2.432 MB / 0.6213 GB, free: 12.8 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)