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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 173.3 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.055/1.055, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.1354/0.1354, allocations: 21.8 MB / 282.1 MB, free: 7.266 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.IntroductoryExamples.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") translateModel(SystemDynamics.IntroductoryExamples.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.931e-06, allocations: 0 / 358.8 MB, free: 5.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.534e-05, allocations: 2.312 kB / 358.8 MB, free: 5.301 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.002494/0.002529, allocations: 1.887 MB / 360.6 MB, free: 3.406 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005798/0.003109, allocations: 326.6 kB / 361 MB, free: 3.086 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.003304, allocations: 11.94 kB / 361 MB, free: 3.074 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.003514, allocations: 67.25 kB / 361 MB, free: 3.008 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.012e-05/0.003604, allocations: 35.5 kB / 361.1 MB, free: 2.973 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.003878, allocations: 163.8 kB / 361.2 MB, free: 2.812 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.004468, allocations: 404.3 kB / 361.6 MB, free: 2.418 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.004804, allocations: 246.5 kB / 361.9 MB, free: 2.168 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.004974, allocations: 223.5 kB / 362.1 MB, free: 1.949 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.00509, allocations: 115.5 kB / 362.2 MB, free: 1.836 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.167e-05/0.005142, allocations: 44 kB / 362.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.467e-05/0.005177, allocations: 44 kB / 362.3 MB, free: 1.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.005245, allocations: 107.6 kB / 362.4 MB, free: 1.645 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/0.00533, allocations: 123.6 kB / 362.5 MB, free: 1.523 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.005633, allocations: 306.5 kB / 362.8 MB, free: 1.223 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.005636, allocations: 0 / 362.8 MB, free: 1.223 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.005638, allocations: 0 / 362.8 MB, free: 1.223 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.005647, allocations: 0 / 362.8 MB, free: 1.223 MB / 330.7 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.0008193/0.006467, allocations: 0.7457 MB / 363.6 MB, free: 448 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.006517, allocations: 8.031 kB / 363.6 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.006631, allocations: 96.61 kB / 363.7 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.007047, allocations: 304.4 kB / 364 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.007106, allocations: 37.77 kB / 364 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.007182, allocations: 60.36 kB / 364.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.007742, allocations: 426.2 kB / 364.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.007759, allocations: 192 / 364.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.007794, allocations: 20.38 kB / 364.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.007813, allocations: 12.38 kB / 364.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003313/0.01113, allocations: 181.7 kB / 364.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.01278, allocations: 1.909 MB / 366.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.01316, allocations: 171.1 kB / 366.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.675e-05/0.01324, allocations: 39.67 kB / 366.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.01326, allocations: 4 kB / 366.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.01329, allocations: 41.39 kB / 366.8 MB, free: 12.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.01329, allocations: 0 / 366.8 MB, free: 12.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003661/0.01365, allocations: 168.4 kB / 367 MB, free: 12.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.0137, allocations: 55.41 kB / 367.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/0.01694, allocations: 280.2 kB / 367.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.01696, allocations: 33.7 kB / 367.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.01713, allocations: 318.8 kB / 367.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.478e-05/0.01719, allocations: 71.38 kB / 367.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.01726, allocations: 55.36 kB / 367.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.01742, allocations: 0.504 MB / 368.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/0.01749, allocations: 31.98 kB / 368.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.01779, allocations: 129.1 kB / 368.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.01801, allocations: 179.7 kB / 368.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01801, allocations: 0 / 368.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002903/0.0183, allocations: 206.1 kB / 368.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.01832, allocations: 4 kB / 368.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.01833, allocations: 4 kB / 368.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.01835, allocations: 4 kB / 368.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.0185, allocations: 47.92 kB / 368.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.01851, allocations: 11.92 kB / 368.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.01858, allocations: 23.78 kB / 368.9 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.0186, allocations: 8.25 kB / 368.9 MB, free: 10.73 MB / 346.7 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.0001253/0.01872, allocations: 176.5 kB / 369.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.01878, allocations: 39.73 kB / 369.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.01883, allocations: 26.12 kB / 369.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.01884, allocations: 7.984 kB / 369.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.01884, allocations: 3.984 kB / 369.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01885, allocations: 0 / 369.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.01915, allocations: 280.4 kB / 369.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01916, allocations: 0 / 369.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.0193, allocations: 35.92 kB / 369.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.0193, allocations: 4 kB / 369.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.01932, allocations: 4 kB / 369.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01933, allocations: 0 / 369.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01933, allocations: 0 / 369.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/0.02271, allocations: 327.7 kB / 369.8 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.02274, allocations: 27.78 kB / 369.9 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.02277, allocations: 4 kB / 369.9 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.02284, allocations: 4 kB / 369.9 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.02287, allocations: 7.984 kB / 369.9 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.02288, allocations: 12 kB / 369.9 MB, free: 9.719 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.023, allocations: 189.1 kB / 370.1 MB, free: 9.535 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.023, allocations: 4 kB / 370.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.02331, allocations: 91.52 kB / 370.2 MB, free: 9.441 MB / 346.7 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 0.0001064/0.02342, allocations: 98.56 kB / 370.3 MB, free: 9.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.02366, allocations: 119.6 kB / 370.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02366, allocations: 0 / 370.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-05/0.02374, allocations: 67.55 kB / 370.4 MB, free: 9.152 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.02409, allocations: 28.98 kB / 370.5 MB, free: 9.125 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008857/0.02497, allocations: 0.641 MB / 371.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.877e-05/0.02506, allocations: 100.2 kB / 371.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.153e-05/0.02513, allocations: 13.95 kB / 371.2 MB, free: 8.316 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.02519, allocations: 20.5 kB / 371.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of SimCode: time 1.283e-06/0.02519, allocations: 0 / 371.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of Templates: time 0.01047/0.03565, allocations: 1.477 MB / 372.7 MB, free: 6.84 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.542617740109563]