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.001814/0.001814, allocations: 88.72 kB / 19.44 MB, free: 360 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.002405/0.002405, allocations: 157.6 kB / 22.75 MB, free: 1.688 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.509/1.509, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.1979/0.1979, allocations: 21.81 MB / 281.4 MB, free: 7.215 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.094e-06/2.094e-06, allocations: 0 / 358 MB, free: 5.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.318e-05, allocations: 6.25 kB / 358 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.003504/0.003537, allocations: 1.867 MB / 359.9 MB, free: 3.621 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000796/0.004333, allocations: 330.6 kB / 360.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.004527, allocations: 11.94 kB / 360.2 MB, free: 3.285 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.004742, allocations: 63.25 kB / 360.3 MB, free: 3.223 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.004875, allocations: 35.5 kB / 360.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.005238, allocations: 167.7 kB / 360.5 MB, free: 3.023 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.005748, allocations: 404.4 kB / 360.9 MB, free: 2.629 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004593/0.006207, allocations: 234.5 kB / 361.1 MB, free: 2.391 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.006487, allocations: 231.5 kB / 361.3 MB, free: 2.164 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.006648, allocations: 119.5 kB / 361.4 MB, free: 2.047 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.006718, allocations: 40 kB / 361.5 MB, free: 2.008 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-05/0.006775, allocations: 44 kB / 361.5 MB, free: 1.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.795e-05/0.006873, allocations: 95.59 kB / 361.6 MB, free: 1.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.007016, allocations: 127.6 kB / 361.7 MB, free: 1.746 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005476/0.007564, allocations: 434.3 kB / 362.2 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007567, allocations: 4 kB / 362.2 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.007571, allocations: 4 kB / 362.2 MB, free: 1.312 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.007578, allocations: 0 / 362.2 MB, free: 1.312 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.001231/0.008809, allocations: 0.6458 MB / 362.8 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.008845, allocations: 12.03 kB / 362.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.009005, allocations: 100.6 kB / 362.9 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.009511, allocations: 289.7 kB / 363.2 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.009557, allocations: 41.69 kB / 363.3 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.55e-05/0.009642, allocations: 52.38 kB / 363.3 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/0.01046, allocations: 480.8 kB / 363.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.01047, allocations: 4.188 kB / 363.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.01051, allocations: 20.38 kB / 363.8 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.01053, allocations: 12.38 kB / 363.8 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.011, allocations: 263.7 kB / 364.1 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.01309, allocations: 1.505 MB / 365.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.0136, allocations: 202.7 kB / 365.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.01372, allocations: 60.8 kB / 365.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.01375, allocations: 8 kB / 365.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.01378, allocations: 34.56 kB / 365.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.01378, allocations: 0 / 365.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004919/0.01427, allocations: 228.2 kB / 366.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.01433, allocations: 55.41 kB / 366.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.0146, allocations: 233.8 kB / 366.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.01463, allocations: 33.7 kB / 366.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.01486, allocations: 272.1 kB / 366.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.574e-05/0.01493, allocations: 79.36 kB / 366.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.01504, allocations: 45.7 kB / 366.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.01524, allocations: 338.8 kB / 367.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.01536, allocations: 51.98 kB / 367.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.01554, allocations: 127.7 kB / 367.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.01586, allocations: 199.5 kB / 367.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01586, allocations: 0 / 367.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004427/0.0163, allocations: 265.9 kB / 367.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.01632, allocations: 10.97 kB / 367.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01633, allocations: 256 / 367.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.01636, allocations: 15.94 kB / 367.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.01655, allocations: 39.98 kB / 367.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.01656, allocations: 7.938 kB / 367.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.01665, allocations: 19.84 kB / 367.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.01667, allocations: 12 kB / 367.9 MB, free: 11.33 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.0001851/0.01685, allocations: 153.7 kB / 368 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.01692, allocations: 31.8 kB / 368.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/0.017, allocations: 34.11 kB / 368.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.017, allocations: 0 / 368.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.017, allocations: 0 / 368.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.01701, allocations: 7.984 kB / 368.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.0174, allocations: 273.1 kB / 368.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.0174, allocations: 0 / 368.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.01758, allocations: 31.92 kB / 368.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01759, allocations: 3.938 kB / 368.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.01761, allocations: 8 kB / 368.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01761, allocations: 3.938 kB / 368.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01761, allocations: 0 / 368.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.01814, allocations: 347.1 kB / 368.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.01817, allocations: 27.73 kB / 368.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.0182, allocations: 8 kB / 368.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.01831, allocations: 12.03 kB / 368.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.01833, allocations: 7.984 kB / 368.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.01834, allocations: 4 kB / 368.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000174/0.01852, allocations: 161.2 kB / 369 MB, free: 10.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01852, allocations: 4 kB / 369 MB, free: 10.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.01888, allocations: 87.52 kB / 369 MB, free: 10.09 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.0001181/0.019, allocations: 95.19 kB / 369.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.01931, allocations: 152.1 kB / 369.3 MB, free: 9.844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01931, allocations: 4 kB / 369.3 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.01942, allocations: 63.92 kB / 369.4 MB, free: 9.777 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.01981, allocations: 39.66 kB / 369.4 MB, free: 9.742 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.02117, allocations: 0.655 MB / 370.1 MB, free: 9.055 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.02143, allocations: 210.9 kB / 370.3 MB, free: 8.816 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.746e-05/0.02151, allocations: 21.95 kB / 370.3 MB, free: 8.797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.02158, allocations: 16.59 kB / 370.3 MB, free: 8.781 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02158, allocations: 0 / 370.3 MB, free: 8.781 MB / 346.7 MB Notification: Performance of Templates: time 0.005371/0.02695, allocations: 1.469 MB / 371.8 MB, free: 7.332 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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.532442708965391]