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.0008487/0.0008487, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009184/0.0009184, allocations: 165 kB / 23.02 MB, free: 1.547 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.9835/0.9835, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.1353/0.1353, allocations: 21.8 MB / 281.7 MB, free: 7.195 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.985e-06/2.985e-06, allocations: 7.938 kB / 358.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.435e-05, allocations: 6.25 kB / 358.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.005991/0.006015, allocations: 1.906 MB / 360.6 MB, free: 3.223 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006862/0.006702, allocations: 330.6 kB / 361 MB, free: 2.898 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.006895, allocations: 11.94 kB / 361 MB, free: 2.887 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.007099, allocations: 67.23 kB / 361 MB, free: 2.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.01023, allocations: 39.5 kB / 361.1 MB, free: 2.781 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.01057, allocations: 159.8 kB / 361.2 MB, free: 2.625 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.01098, allocations: 404.4 kB / 361.6 MB, free: 2.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.01137, allocations: 242.5 kB / 361.9 MB, free: 1.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.01158, allocations: 223.5 kB / 362.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.01172, allocations: 123.5 kB / 362.2 MB, free: 1.645 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.467e-05/0.01178, allocations: 40 kB / 362.2 MB, free: 1.605 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.01183, allocations: 44 kB / 362.3 MB, free: 1.562 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.0119, allocations: 103.6 kB / 362.4 MB, free: 1.461 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.01201, allocations: 123.6 kB / 362.5 MB, free: 1.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.01235, allocations: 302.5 kB / 362.8 MB, free: 1.043 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01235, allocations: 0 / 362.8 MB, free: 1.043 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.01235, allocations: 4 kB / 362.8 MB, free: 1.039 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.01236, allocations: 0 / 362.8 MB, free: 1.039 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.003839/0.0162, allocations: 0.7496 MB / 363.6 MB, free: 256 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.01624, allocations: 8.031 kB / 363.6 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.01638, allocations: 104.6 kB / 363.7 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.01679, allocations: 292.5 kB / 364 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.01683, allocations: 41.69 kB / 364 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.0169, allocations: 48.38 kB / 364 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/0.0175, allocations: 430.2 kB / 364.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.01752, allocations: 192 / 364.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.01755, allocations: 24.38 kB / 364.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.01757, allocations: 16.38 kB / 364.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.0179, allocations: 169.7 kB / 364.7 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004692/0.0226, allocations: 1.921 MB / 366.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.02297, allocations: 167.1 kB / 366.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.488e-05/0.02304, allocations: 43.67 kB / 366.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.02306, allocations: 4 kB / 366.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.02309, allocations: 37.39 kB / 366.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.874e-06/0.02309, allocations: 0 / 366.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003484/0.02344, allocations: 168.4 kB / 367 MB, free: 12.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.02347, allocations: 59.41 kB / 367.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.02369, allocations: 276.3 kB / 367.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.02371, allocations: 33.64 kB / 367.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.02388, allocations: 322.8 kB / 367.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.02393, allocations: 71.39 kB / 367.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.02401, allocations: 55.36 kB / 367.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.02416, allocations: 0.504 MB / 368.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.622e-05/0.02424, allocations: 31.97 kB / 368.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.02437, allocations: 129.1 kB / 368.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.02458, allocations: 179.7 kB / 368.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02458, allocations: 0 / 368.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003055/0.02489, allocations: 210.3 kB / 368.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.0249, allocations: 4 kB / 368.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.02491, allocations: 4 kB / 368.9 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.02493, allocations: 0 / 368.9 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/0.02811, allocations: 47.92 kB / 368.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.02812, allocations: 7.938 kB / 368.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.02821, allocations: 27.78 kB / 368.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.02822, allocations: 8 kB / 368.9 MB, free: 10.54 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.0001215/0.02835, allocations: 168.5 kB / 369.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.0284, allocations: 35.73 kB / 369.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.02845, allocations: 38.14 kB / 369.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.02845, allocations: 0 / 369.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.02846, allocations: 4 kB / 369.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.02846, allocations: 3.984 kB / 369.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.02878, allocations: 272.4 kB / 369.5 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.02878, allocations: 0 / 369.5 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.02893, allocations: 35.92 kB / 369.5 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.02894, allocations: 0 / 369.5 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.02896, allocations: 4 kB / 369.5 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.02896, allocations: 0 / 369.5 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.02896, allocations: 3.984 kB / 369.5 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.02934, allocations: 331.7 kB / 369.8 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.02936, allocations: 23.8 kB / 369.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.02939, allocations: 3.984 kB / 369.8 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.02947, allocations: 4 kB / 369.9 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.0295, allocations: 11.98 kB / 369.9 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.02951, allocations: 8 kB / 369.9 MB, free: 9.543 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.02964, allocations: 193.1 kB / 370.1 MB, free: 9.355 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02964, allocations: 0 / 370.1 MB, free: 9.355 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003647/0.03001, allocations: 87.52 kB / 370.1 MB, free: 9.27 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 9.827e-05/0.03011, allocations: 99.19 kB / 370.2 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.03035, allocations: 120.5 kB / 370.4 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.03035, allocations: 0 / 370.4 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.603e-05/0.03044, allocations: 66.47 kB / 370.4 MB, free: 8.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.03078, allocations: 32.53 kB / 370.5 MB, free: 8.945 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008807/0.03166, allocations: 0.6371 MB / 371.1 MB, free: 8.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.933e-05/0.03174, allocations: 100.2 kB / 371.2 MB, free: 8.152 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.715e-05/0.03182, allocations: 22.44 kB / 371.2 MB, free: 8.133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.03187, allocations: 20.5 kB / 371.2 MB, free: 8.113 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03187, allocations: 0 / 371.2 MB, free: 8.113 MB / 346.7 MB Notification: Performance of Templates: time 0.004673/0.03655, allocations: 1.467 MB / 372.7 MB, free: 6.664 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.1471894858404994]