Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 181.2 kB / 15.43 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.067/2.067, allocations: 225.7 MB / 241.9 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007712/0.0007711, allocations: 93.12 kB / 293 MB, free: 4.781 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo): time 0.1573/0.1573, allocations: 28.84 MB / 373 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.000289, allocations: 8 kB / 441.2 MB, free: 87.26 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07405/0.07436, allocations: 57.5 MB / 498.7 MB, free: 30.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.002498/0.07689, allocations: 2.921 MB / 0.4899 GB, free: 27.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.07809, allocations: 0.7338 MB / 0.4906 GB, free: 26.63 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.07847, allocations: 15.94 kB / 0.4906 GB, free: 26.61 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.07874, allocations: 139 kB / 0.4907 GB, free: 26.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.07903, allocations: 87.5 kB / 0.4908 GB, free: 26.39 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.07955, allocations: 303.7 kB / 0.4911 GB, free: 26.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005833/0.08015, allocations: 0.8093 MB / 0.4919 GB, free: 25.28 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006108/0.08077, allocations: 0.5935 MB / 0.4925 GB, free: 24.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.08094, allocations: 246.3 kB / 0.4927 GB, free: 24.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.08114, allocations: 309.6 kB / 0.493 GB, free: 24.11 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.438e-05/0.08121, allocations: 24 kB / 0.493 GB, free: 24.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.08134, allocations: 43.97 kB / 0.4931 GB, free: 24.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.08159, allocations: 346.6 kB / 0.4934 GB, free: 23.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.08183, allocations: 0.5283 MB / 0.4939 GB, free: 23.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005977/0.08244, allocations: 1.085 MB / 0.495 GB, free: 22.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.08245, allocations: 0 / 0.495 GB, free: 22.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.08246, allocations: 3.938 kB / 0.495 GB, free: 22.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.08248, allocations: 7.938 kB / 0.495 GB, free: 22.06 MB / 346.7 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.001385/0.08387, allocations: 1.519 MB / 0.4965 GB, free: 20.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.08391, allocations: 11.97 kB / 0.4965 GB, free: 20.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.08407, allocations: 194.5 kB / 0.4967 GB, free: 20.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.08465, allocations: 0.7471 MB / 0.4974 GB, free: 19.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.0847, allocations: 78.45 kB / 0.4975 GB, free: 19.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.08479, allocations: 104.4 kB / 0.4976 GB, free: 19.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.08611, allocations: 1.154 MB / 0.4987 GB, free: 18.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.08614, allocations: 192 / 0.4987 GB, free: 18.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.08621, allocations: 51.94 kB / 0.4987 GB, free: 18.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.08623, allocations: 24 kB / 0.4988 GB, free: 18.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.08738, allocations: 1.101 MB / 0.4998 GB, free: 16.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.09076, allocations: 3.685 MB / 0.5034 GB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.09195, allocations: 1.326 MB / 0.5047 GB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.09238, allocations: 490.3 kB / 0.5052 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.419e-05/0.09245, allocations: 24.77 kB / 0.5052 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.09248, allocations: 35.12 kB / 0.5053 GB, free: 11.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 2.444e-06/0.09249, allocations: 0 / 0.5053 GB, free: 11.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=68): time 0.001454/0.09395, allocations: 1.532 MB / 0.5068 GB, free: 9.691 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.09399, allocations: 59.97 kB / 0.5068 GB, free: 9.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.09502, allocations: 1.269 MB / 0.5081 GB, free: 8.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.09505, allocations: 37.7 kB / 0.5081 GB, free: 8.301 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.09541, allocations: 0.7715 MB / 0.5088 GB, free: 7.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.09553, allocations: 236.5 kB / 0.5091 GB, free: 7.285 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.09556, allocations: 12 kB / 0.5091 GB, free: 7.273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.09561, allocations: 337.9 kB / 0.5094 GB, free: 6.938 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.09603, allocations: 437.8 kB / 0.5098 GB, free: 6.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.09647, allocations: 0.5272 MB / 0.5103 GB, free: 5.945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008586/0.09734, allocations: 1.002 MB / 0.5113 GB, free: 4.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.09735, allocations: 0 / 0.5113 GB, free: 4.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001129/0.09849, allocations: 1.183 MB / 0.5125 GB, free: 3.719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.09852, allocations: 11.94 kB / 0.5125 GB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.09853, allocations: 0 / 0.5125 GB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.09856, allocations: 8 kB / 0.5125 GB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.099, allocations: 131.8 kB / 0.5126 GB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.09902, allocations: 4 kB / 0.5126 GB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.09926, allocations: 55.38 kB / 0.5127 GB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.09931, allocations: 28.27 kB / 0.5127 GB, free: 3.484 MB / 346.7 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.0003547/0.09967, allocations: 377.4 kB / 0.5131 GB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.09978, allocations: 142.1 kB / 0.5132 GB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.101, allocations: 1.201 MB / 0.5144 GB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.101, allocations: 11.94 kB / 0.5144 GB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.101, allocations: 0 / 0.5144 GB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.101, allocations: 7.984 kB / 0.5144 GB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.1032, allocations: 2.364 MB / 0.5167 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1032, allocations: 0 / 0.5167 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.1037, allocations: 107.9 kB / 0.5168 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1037, allocations: 4 kB / 0.5168 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.1038, allocations: 12 kB / 0.5168 GB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.1038, allocations: 7.938 kB / 0.5168 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1038, allocations: 3.938 kB / 0.5168 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.1058, allocations: 1.887 MB / 0.5187 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.106, allocations: 195.1 kB / 0.5189 GB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.772e-05/0.1061, allocations: 16 kB / 0.5189 GB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.1063, allocations: 19.98 kB / 0.5189 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.1064, allocations: 44.44 kB / 0.5189 GB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.1065, allocations: 23.98 kB / 0.519 GB, free: 12.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001004/0.1075, allocations: 0.877 MB / 0.5198 GB, free: 12.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1075, allocations: 0 / 0.5198 GB, free: 12.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005424/0.108, allocations: 207 kB / 0.52 GB, free: 11.88 MB / 362.7 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.0001986/0.1082, allocations: 123.1 kB / 0.5201 GB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.1095, allocations: 0.9925 MB / 0.5211 GB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1095, allocations: 0 / 0.5211 GB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.1101, allocations: 0.5107 MB / 0.5216 GB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.1107, allocations: 85.27 kB / 0.5217 GB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.1145, allocations: 3.399 MB / 0.525 GB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/0.1154, allocations: 1.303 MB / 0.5263 GB, free: 5.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002598/0.1157, allocations: 76.39 kB / 0.5263 GB, free: 5.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.1158, allocations: 43.44 kB / 0.5264 GB, free: 5.281 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1158, allocations: 0 / 0.5264 GB, free: 5.281 MB / 362.7 MB Notification: Performance of Templates: time 0.01144/0.1272, allocations: 4.818 MB / 0.5311 GB, free: 480 kB / 362.7 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile (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 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1)