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.001017/0.001017, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001026/0.001026, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 0.9868/0.9868, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.1281/0.1281, allocations: 21.79 MB / 282 MB, free: 7.035 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 3.156e-06/3.156e-06, allocations: 0 / 359.2 MB, free: 4.867 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.539e-05, allocations: 5.547 kB / 359.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.003512/0.003547, allocations: 1.883 MB / 361.1 MB, free: 2.973 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000887/0.004434, allocations: 326.6 kB / 361.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.004721, allocations: 11.94 kB / 361.4 MB, free: 2.641 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.004944, allocations: 71.12 kB / 361.5 MB, free: 2.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.005072, allocations: 35.5 kB / 361.5 MB, free: 2.535 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.005417, allocations: 167.8 kB / 361.7 MB, free: 2.371 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.005842, allocations: 404.4 kB / 362.1 MB, free: 1.977 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.006214, allocations: 230.6 kB / 362.3 MB, free: 1.742 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.006435, allocations: 235.5 kB / 362.5 MB, free: 1.512 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.006572, allocations: 115.5 kB / 362.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/0.006635, allocations: 43.94 kB / 362.7 MB, free: 1.355 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.234e-05/0.006677, allocations: 44 kB / 362.7 MB, free: 1.312 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.03e-05/0.006758, allocations: 103.6 kB / 362.8 MB, free: 1.211 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.006859, allocations: 123.6 kB / 362.9 MB, free: 1.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.007228, allocations: 302.5 kB / 363.2 MB, free: 0.793 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.007232, allocations: 8 kB / 363.2 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007233, allocations: 0 / 363.2 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.007239, allocations: 0 / 363.2 MB, free: 0.7852 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.0007832/0.008023, allocations: 0.7534 MB / 364 MB, free: 15.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.008068, allocations: 8.031 kB / 364 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.008181, allocations: 96.61 kB / 364.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.008536, allocations: 296.5 kB / 364.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.00857, allocations: 37.69 kB / 364.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.008636, allocations: 56.38 kB / 364.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.009089, allocations: 398.1 kB / 364.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.009105, allocations: 4.125 kB / 364.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.009136, allocations: 28.36 kB / 364.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.00915, allocations: 12.38 kB / 364.9 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.009344, allocations: 142.7 kB / 365.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.01091, allocations: 1.847 MB / 366.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.01122, allocations: 151.2 kB / 367 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.01127, allocations: 35.67 kB / 367.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.01129, allocations: 7.938 kB / 367.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.01131, allocations: 41.38 kB / 367.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.01131, allocations: 0 / 367.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002643/0.01158, allocations: 148 kB / 367.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.01161, allocations: 59.41 kB / 367.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.0118, allocations: 276.2 kB / 367.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.01182, allocations: 29.7 kB / 367.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.01198, allocations: 326.8 kB / 368 MB, free: 11.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.01203, allocations: 71.36 kB / 368 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.0121, allocations: 55.34 kB / 368.1 MB, free: 11.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.01225, allocations: 0.5079 MB / 368.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.01229, allocations: 23.97 kB / 368.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.713e-05/0.01239, allocations: 125 kB / 368.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.01256, allocations: 163.8 kB / 368.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.01256, allocations: 4 kB / 368.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002395/0.0128, allocations: 186.5 kB / 369.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.01282, allocations: 12 kB / 369.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01282, allocations: 3.938 kB / 369.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.01284, allocations: 4 kB / 369.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.01299, allocations: 51.91 kB / 369.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.013, allocations: 7.984 kB / 369.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.431e-05/0.01307, allocations: 23.78 kB / 369.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.01309, allocations: 8 kB / 369.2 MB, free: 10.49 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 (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 0.0001149/0.0132, allocations: 168.5 kB / 369.3 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.01325, allocations: 31.8 kB / 369.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.0133, allocations: 34.11 kB / 369.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.0133, allocations: 8 kB / 369.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.0133, allocations: 0 / 369.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01331, allocations: 0 / 369.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.01358, allocations: 225 kB / 369.6 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01358, allocations: 0 / 369.6 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.01372, allocations: 31.92 kB / 369.7 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01372, allocations: 0 / 369.7 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.01374, allocations: 11.94 kB / 369.7 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01374, allocations: 0 / 369.7 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01374, allocations: 0 / 369.7 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.01405, allocations: 314.4 kB / 370 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.01407, allocations: 19.86 kB / 370 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.01409, allocations: 7.938 kB / 370 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.01416, allocations: 4 kB / 370 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.01419, allocations: 15.91 kB / 370 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.0142, allocations: 4 kB / 370 MB, free: 9.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001004/0.0143, allocations: 185.1 kB / 370.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0143, allocations: 0 / 370.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003243/0.01462, allocations: 91.52 kB / 370.3 MB, free: 9.301 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.0001039/0.01472, allocations: 95.25 kB / 370.4 MB, free: 9.199 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.01491, allocations: 104.5 kB / 370.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01491, allocations: 0 / 370.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/0.01498, allocations: 59.55 kB / 370.6 MB, free: 9.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.0153, allocations: 35.66 kB / 370.6 MB, free: 9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008458/0.01615, allocations: 0.6308 MB / 371.2 MB, free: 8.336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/0.01623, allocations: 100.2 kB / 371.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.674e-05/0.01632, allocations: 34.38 kB / 371.4 MB, free: 8.184 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.01642, allocations: 94.14 kB / 371.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01642, allocations: 0 / 371.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of Templates: time 0.005334/0.02175, allocations: 1.584 MB / 373 MB, free: 6.527 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: 2.841512048151344]