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.001136/0.001136, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001194/0.001194, allocations: 181 kB / 23.36 MB, free: 1.133 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.044/1.044, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.1362/0.1362, allocations: 21.81 MB / 282.1 MB, free: 7.07 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 2.083e-06/2.083e-06, allocations: 0 / 306 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.453e-05, allocations: 3.188 kB / 306 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.00282/0.002844, allocations: 1.916 MB / 307.9 MB, free: 8.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005541/0.003398, allocations: 349.7 kB / 308.2 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.003553, allocations: 11.94 kB / 308.3 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.003722, allocations: 71.97 kB / 308.3 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.219e-05/0.003804, allocations: 36.16 kB / 308.4 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.004032, allocations: 162.9 kB / 308.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.004318, allocations: 400.4 kB / 308.9 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.004574, allocations: 246.5 kB / 309.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.004726, allocations: 231.5 kB / 309.4 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.857e-05/0.004825, allocations: 119.5 kB / 309.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.004864, allocations: 43.94 kB / 309.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.906e-05/0.004893, allocations: 44 kB / 309.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.004945, allocations: 99.58 kB / 309.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.005144, allocations: 131.6 kB / 309.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.005364, allocations: 298.5 kB / 310.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.005366, allocations: 0 / 310.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.005368, allocations: 4 kB / 310.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.005372, allocations: 4 kB / 310.1 MB, free: 5.949 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.0005269/0.005899, allocations: 0.6255 MB / 310.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.005928, allocations: 8.031 kB / 310.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.005992, allocations: 80.88 kB / 310.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.006222, allocations: 241.8 kB / 311.1 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.006246, allocations: 37.69 kB / 311.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.006287, allocations: 56.38 kB / 311.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.006564, allocations: 384.6 kB / 311.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.006577, allocations: 4.125 kB / 311.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.006595, allocations: 20.38 kB / 311.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.006605, allocations: 12.38 kB / 311.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.006724, allocations: 134.7 kB / 311.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009572/0.007682, allocations: 1.327 MB / 313 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.007908, allocations: 134.4 kB / 313.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.007941, allocations: 28.86 kB / 313.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.00795, allocations: 0 / 313.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.007973, allocations: 42.5 kB / 313.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 9.32e-07/0.007973, allocations: 0 / 313.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004257/0.008399, allocations: 120.6 kB / 313.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.008426, allocations: 55.41 kB / 313.4 MB, free: 2.496 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.008547, allocations: 225 kB / 313.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.00856, allocations: 29.7 kB / 313.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.008656, allocations: 260.6 kB / 313.9 MB, free: 1.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.008689, allocations: 71.38 kB / 314 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.008735, allocations: 53.67 kB / 314 MB, free: 1.844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.008809, allocations: 338.8 kB / 314.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.008836, allocations: 19.98 kB / 314.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.008894, allocations: 83.69 kB / 314.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.009002, allocations: 138.4 kB / 314.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.009004, allocations: 0 / 314.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001397/0.009144, allocations: 152.1 kB / 314.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.009154, allocations: 4 kB / 314.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.00916, allocations: 12.12 kB / 314.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.009172, allocations: 8 kB / 314.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.009273, allocations: 47.92 kB / 314.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.009278, allocations: 7.984 kB / 314.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.009323, allocations: 27.78 kB / 314.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.009331, allocations: 4 kB / 314.8 MB, free: 0.9531 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 7.657e-05/0.009408, allocations: 129.8 kB / 315 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.009432, allocations: 19.92 kB / 315 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.009469, allocations: 30.11 kB / 315 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.009471, allocations: 0 / 315 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.009472, allocations: 0 / 315 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.009475, allocations: 8 kB / 315 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.009635, allocations: 185.6 kB / 315.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.009636, allocations: 0 / 315.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.009726, allocations: 31.98 kB / 315.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.009727, allocations: 0 / 315.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.009739, allocations: 7.938 kB / 315.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.009741, allocations: 3.938 kB / 315.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.009744, allocations: 4 kB / 315.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.00991, allocations: 234.3 kB / 315.5 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.009925, allocations: 19.8 kB / 315.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.009939, allocations: 12 kB / 315.5 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.009984, allocations: 7.938 kB / 315.5 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.01, allocations: 7.984 kB / 315.5 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.01001, allocations: 7.984 kB / 315.5 MB, free: 224 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.717e-05/0.01005, allocations: 74.77 kB / 315.6 MB, free: 144 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01005, allocations: 0 / 315.6 MB, free: 144 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.01022, allocations: 87.58 kB / 315.7 MB, free: 56 kB / 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.947e-05/0.01029, allocations: 76.36 kB / 315.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.01041, allocations: 93.02 kB / 315.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.01041, allocations: 4.625 kB / 315.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.01046, allocations: 56.75 kB / 315.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.01063, allocations: 31.77 kB / 315.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.01117, allocations: 0.6348 MB / 316.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.551e-05/0.01123, allocations: 104.2 kB / 316.7 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.632e-05/0.01128, allocations: 21.89 kB / 316.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.01136, allocations: 75.36 kB / 316.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01136, allocations: 4.188 kB / 316.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of Templates: time 0.003511/0.01487, allocations: 1.596 MB / 318.4 MB, free: 13.32 MB / 298.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.974037379026413]