Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2115/0.2115, allocations: 29.24 MB / 334.3 MB, free: 11.82 MB / 270.1 MB [Timeout remaining time 90] 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.IntroductoryExamples.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") translateModel(SystemDynamics.IntroductoryExamples.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 71.88 kB / 468.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4699, allocations: 59.56 MB / 0.5156 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.003191/0.4731, allocations: 2.116 MB / 0.5176 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006722/0.4737, allocations: 328.2 kB / 0.5179 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.4739, allocations: 10.91 kB / 0.518 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.4742, allocations: 74.38 kB / 0.518 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.4743, allocations: 36.17 kB / 0.5181 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.4747, allocations: 164.3 kB / 0.5182 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.4752, allocations: 411.8 kB / 0.5186 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/0.4756, allocations: 256.3 kB / 0.5189 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.4757, allocations: 160.2 kB / 0.519 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.4759, allocations: 181.3 kB / 0.5192 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.907e-05/0.476, allocations: 42.84 kB / 0.5192 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.351e-05/0.476, allocations: 45.5 kB / 0.5193 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.942e-05/0.4761, allocations: 102.8 kB / 0.5194 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.4763, allocations: 210.4 kB / 0.5196 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.4768, allocations: 440.5 kB / 0.52 GB, free: 6.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4768, allocations: 0 / 0.52 GB, free: 6.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4768, allocations: 1.125 kB / 0.52 GB, free: 6.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4768, allocations: 0 / 0.52 GB, free: 6.785 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00102/0.4778, allocations: 0.7377 MB / 0.5207 GB, free: 6.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.4779, allocations: 9.25 kB / 0.5207 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.478, allocations: 63.72 kB / 0.5208 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.4785, allocations: 342.8 kB / 0.5211 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.4785, allocations: 42.16 kB / 0.5211 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.941e-05/0.4786, allocations: 51.06 kB / 0.5212 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.4794, allocations: 481.7 kB / 0.5216 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.4794, allocations: 6.031 kB / 0.5217 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.4794, allocations: 33.31 kB / 0.5217 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.4794, allocations: 13.47 kB / 0.5217 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.4799, allocations: 251.3 kB / 0.5219 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.4819, allocations: 1.741 MB / 0.5236 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.4824, allocations: 196.5 kB / 0.5238 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.4825, allocations: 57.47 kB / 0.5239 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.4825, allocations: 5.75 kB / 0.5239 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.4826, allocations: 37.58 kB / 0.5239 GB, free: 3.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.475e-06/0.4826, allocations: 3.984 kB / 0.5239 GB, free: 3.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.0004843/0.4831, allocations: 233.4 kB / 0.5241 GB, free: 3.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.4831, allocations: 54.41 kB / 0.5242 GB, free: 3.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.4835, allocations: 342.7 kB / 0.5245 GB, free: 3.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.4835, allocations: 30.89 kB / 0.5246 GB, free: 3.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.4837, allocations: 261 kB / 0.5248 GB, free: 3.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.4838, allocations: 74.25 kB / 0.5249 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/0.4838, allocations: 51.88 kB / 0.5249 GB, free: 3.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4839, allocations: 353.3 kB / 0.5253 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.4841, allocations: 56.27 kB / 0.5253 GB, free: 2.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.4842, allocations: 123.8 kB / 0.5254 GB, free: 2.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.4845, allocations: 199.6 kB / 0.5256 GB, free: 2.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4845, allocations: 1.031 kB / 0.5256 GB, free: 2.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003684/0.4849, allocations: 261.1 kB / 0.5259 GB, free: 2.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4849, allocations: 10.08 kB / 0.5259 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4849, allocations: 1.938 kB / 0.5259 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4849, allocations: 4.281 kB / 0.5259 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.4851, allocations: 43.45 kB / 0.5259 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.4851, allocations: 12.23 kB / 0.5259 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.4852, allocations: 33.2 kB / 0.526 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.4852, allocations: 12.27 kB / 0.526 GB, free: 2.492 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (Water_Inside.Integrator1.local_reset,Water_Outside.Integrator1.local_reset,Sucrose_Outside.Integrator1.local_reset,Sucrose_Inside.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001329/0.4854, allocations: 156.5 kB / 0.5261 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.4854, allocations: 34.05 kB / 0.5262 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/0.4855, allocations: 36.42 kB / 0.5262 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4855, allocations: 2.562 kB / 0.5262 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4855, allocations: 0 / 0.5262 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4855, allocations: 6.641 kB / 0.5262 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.4859, allocations: 397 kB / 0.5266 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4859, allocations: 0 / 0.5266 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.4861, allocations: 32.22 kB / 0.5266 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4861, allocations: 1.281 kB / 0.5266 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.4861, allocations: 1.188 kB / 0.5266 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4861, allocations: 1.469 kB / 0.5266 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4862, allocations: 4.781 kB / 0.5266 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.4866, allocations: 357.6 kB / 0.527 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/0.4866, allocations: 120.5 kB / 0.5271 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.4867, allocations: 5.219 kB / 0.5271 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4868, allocations: 5.188 kB / 0.5271 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.4868, allocations: 8.828 kB / 0.5271 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.4868, allocations: 4.656 kB / 0.5271 GB, free: 1.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.4871, allocations: 237.5 kB / 0.5273 GB, free: 1.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4871, allocations: 0.9062 kB / 0.5273 GB, free: 1.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.4874, allocations: 83.05 kB / 0.5274 GB, free: 1.488 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Sucrose_Inside.Integrator1.y,Sucrose_Outside.Integrator1.y,Water_Outside.Integrator1.y,Water_Inside.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 (19): * Single equations (assignments): 19 * 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 9.205e-05/0.4875, allocations: 104.6 kB / 0.5275 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.4878, allocations: 153 kB / 0.5277 GB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4878, allocations: 0 / 0.5277 GB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.4879, allocations: 68.7 kB / 0.5277 GB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.4884, allocations: 53.59 kB / 0.5278 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.4896, allocations: 0.6996 MB / 0.5285 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.4899, allocations: 0.817 MB / 0.5293 GB, free: 128 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.4899, allocations: 25.09 kB / 0.5293 GB, free: 120 kB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4899, allocations: 0 / 0.5293 GB, free: 120 kB / 382.1 MB Notification: Performance of Templates: time 0.007929/0.4979, allocations: 3.733 MB / 0.5329 GB, free: 15.66 MB / 398.1 MB [Timeout remaining time 659] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe 2>&1) [Timeout 480]