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.0006832/0.0006832, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008612/0.001544, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000681/0.000681, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008497/0.001531, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8983/0.8983, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08095/0.9792, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1178/0.1178, allocations: 21.81 MB / 265.8 MB, free: 9 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01403/0.1318, allocations: 7.851 MB / 273.6 MB, free: 1.129 MB / 266.7 MB " [Timeout remaining time 180] 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.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 2.715e-06/2.715e-06, allocations: 0 / 274.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.978e-06/1.269e-05, allocations: 2.844 kB / 274.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.00197/0.001983, allocations: 1.925 MB / 276.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003992/0.002382, allocations: 357.2 kB / 277.1 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.002504, allocations: 14.19 kB / 277.1 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.002617, allocations: 65.59 kB / 277.2 MB, free: 488 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.049e-05/0.002687, allocations: 36.12 kB / 277.2 MB, free: 456 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.002863, allocations: 162.4 kB / 277.4 MB, free: 364 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.003138, allocations: 393.3 kB / 277.8 MB, free: 160 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.003377, allocations: 250.9 kB / 278 MB, free: 8 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.003592, allocations: 257.5 kB / 278.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.003712, allocations: 121 kB / 278.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.003758, allocations: 41.59 kB / 278.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.205e-05/0.00379, allocations: 43.56 kB / 278.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.003841, allocations: 74.84 kB / 278.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.003921, allocations: 99.72 kB / 278.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.004167, allocations: 273.8 kB / 278.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.004182, allocations: 0.6562 kB / 278.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.004183, allocations: 0.6562 kB / 278.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.004199, allocations: 2.75 kB / 278.9 MB, free: 15.66 MB / 282.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.0006478/0.004847, allocations: 0.7102 MB / 279.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.004878, allocations: 10.66 kB / 279.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.004951, allocations: 79.27 kB / 279.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.005204, allocations: 240.7 kB / 280 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.005234, allocations: 39.31 kB / 280 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.005284, allocations: 67.39 kB / 280.1 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.005624, allocations: 386.5 kB / 280.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.005636, allocations: 1.406 kB / 280.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.005656, allocations: 21.44 kB / 280.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.005668, allocations: 13.25 kB / 280.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.005801, allocations: 125.2 kB / 280.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009854/0.006786, allocations: 1.33 MB / 281.9 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.007, allocations: 131.1 kB / 282.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.007034, allocations: 28.8 kB / 282.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.007044, allocations: 2.812 kB / 282.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.007066, allocations: 45.88 kB / 282.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.223e-06/0.007067, allocations: 0 / 282.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001754/0.007243, allocations: 112.4 kB / 282.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.007272, allocations: 57.09 kB / 282.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.007409, allocations: 223 kB / 282.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.007423, allocations: 30.83 kB / 282.6 MB, free: 13.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.007533, allocations: 260 kB / 282.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.007575, allocations: 76.75 kB / 282.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.007622, allocations: 48.3 kB / 282.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.007703, allocations: 337 kB / 283.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.007733, allocations: 24.16 kB / 283.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.007798, allocations: 89.75 kB / 283.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.007908, allocations: 131.8 kB / 283.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.00791, allocations: 0.875 kB / 283.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001548/0.008065, allocations: 155.2 kB / 283.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.008078, allocations: 5.281 kB / 283.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.008084, allocations: 2.5 kB / 283.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.008097, allocations: 4.469 kB / 283.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.008216, allocations: 54.47 kB / 283.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.008222, allocations: 3.75 kB / 283.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.008268, allocations: 26.78 kB / 283.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.008279, allocations: 7.578 kB / 283.8 MB, free: 12.39 MB / 282.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 (Sucrose_Inside.Integrator1.local_reset,Sucrose_Outside.Integrator1.local_reset,Water_Outside.Integrator1.local_reset,Water_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 8.338e-05/0.008363, allocations: 131 kB / 283.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.008392, allocations: 23.27 kB / 283.9 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.00843, allocations: 26.8 kB / 283.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.008433, allocations: 6.812 kB / 283.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.008436, allocations: 0.8906 kB / 283.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.00844, allocations: 1.172 kB / 283.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.008626, allocations: 190.7 kB / 284.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.008629, allocations: 1.25 kB / 284.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.008734, allocations: 35.94 kB / 284.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.008754, allocations: 22.62 kB / 284.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008756, allocations: 9.188 kB / 284.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.008768, allocations: 5.281 kB / 284.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.008769, allocations: 1.781 kB / 284.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.008771, allocations: 0.9688 kB / 284.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.008971, allocations: 232 kB / 284.4 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.008988, allocations: 6.859 kB / 284.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.424e-05/0.009033, allocations: 9.062 kB / 284.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.009054, allocations: 14.7 kB / 284.5 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.009058, allocations: 1.25 kB / 284.5 MB, free: 11.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.914e-05/0.009117, allocations: 76.91 kB / 284.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009117, allocations: 4 kB / 284.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.00929, allocations: 90.95 kB / 284.6 MB, free: 11.84 MB / 282.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 6.824e-05/0.009358, allocations: 73.23 kB / 284.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.009492, allocations: 103.9 kB / 284.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.009501, allocations: 5.312 kB / 284.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/0.009546, allocations: 48.23 kB / 284.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.009749, allocations: 42.19 kB / 284.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.01041, allocations: 0.7077 MB / 285.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.444e-05/0.01049, allocations: 107.4 kB / 285.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.371e-05/0.01055, allocations: 22.14 kB / 285.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.01063, allocations: 73.22 kB / 285.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01063, allocations: 3.938 kB / 285.8 MB, free: 11.13 MB / 282.7 MB Notification: Performance of Templates: time 0.00407/0.0147, allocations: 1.634 MB / 287.4 MB, free: 10.85 MB / 282.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: 2.4933830769732594]