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.0008268/0.0008268, allocations: 80.94 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.0009377/0.0009377, allocations: 173.4 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 0.9122/0.9122, allocations: 177.1 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.1306/0.1306, allocations: 21.81 MB / 282.1 MB, free: 7.086 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.104e-06/2.104e-06, allocations: 0 / 305.9 MB, free: 9.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.166e-05, allocations: 8.359 kB / 305.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.006023/0.006045, allocations: 1.87 MB / 307.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009185/0.006963, allocations: 349.7 kB / 308.1 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.008191, allocations: 7.938 kB / 308.2 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.00842, allocations: 72.22 kB / 308.2 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.008547, allocations: 44.14 kB / 308.3 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.008913, allocations: 166.3 kB / 308.4 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.009374, allocations: 394 kB / 308.8 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.009746, allocations: 250.5 kB / 309.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.009984, allocations: 227.5 kB / 309.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.01015, allocations: 119.5 kB / 309.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.909e-05/0.01022, allocations: 48 kB / 309.4 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.01026, allocations: 40 kB / 309.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.128e-05/0.01034, allocations: 107.5 kB / 309.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.01044, allocations: 119.6 kB / 309.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.01079, allocations: 302.5 kB / 310 MB, free: 6.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.01079, allocations: 0 / 310 MB, free: 6.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01079, allocations: 3.938 kB / 310 MB, free: 6.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.0108, allocations: 0 / 310 MB, free: 6.059 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.0007315/0.01153, allocations: 0.6333 MB / 310.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.01156, allocations: 12.03 kB / 310.7 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.965e-05/0.01166, allocations: 76.88 kB / 310.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.01199, allocations: 237.8 kB / 311 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.01203, allocations: 41.69 kB / 311 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.01209, allocations: 52.38 kB / 311 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.01251, allocations: 388.6 kB / 311.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.01253, allocations: 4.125 kB / 311.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.01256, allocations: 24.38 kB / 311.5 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.01258, allocations: 12.38 kB / 311.5 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.01276, allocations: 118.8 kB / 311.6 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.01409, allocations: 1.339 MB / 312.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.01437, allocations: 130.5 kB / 313.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.01442, allocations: 31.77 kB / 313.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.01443, allocations: 8 kB / 313.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.01446, allocations: 38.5 kB / 313.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/0.01446, allocations: 0 / 313.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002264/0.01469, allocations: 113.6 kB / 313.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.01472, allocations: 55.41 kB / 313.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.01489, allocations: 228.9 kB / 313.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.01491, allocations: 29.7 kB / 313.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.01504, allocations: 256.6 kB / 313.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.01509, allocations: 71.36 kB / 313.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.01516, allocations: 57.67 kB / 313.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.01526, allocations: 338.8 kB / 314.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.0153, allocations: 16 kB / 314.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.441e-05/0.01538, allocations: 87.67 kB / 314.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.01554, allocations: 137.8 kB / 314.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.01554, allocations: 4 kB / 314.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002106/0.01575, allocations: 148.1 kB / 314.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.01577, allocations: 8 kB / 314.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01577, allocations: 0 / 314.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01579, allocations: 4 kB / 314.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.01594, allocations: 51.86 kB / 314.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.01595, allocations: 7.938 kB / 314.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.01602, allocations: 28.03 kB / 314.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.01603, allocations: 8 kB / 314.7 MB, free: 1.055 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 0.0001054/0.01614, allocations: 125.8 kB / 314.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.01618, allocations: 19.92 kB / 314.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.01622, allocations: 30.12 kB / 314.9 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01623, allocations: 0 / 314.9 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.01623, allocations: 4 kB / 314.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.01624, allocations: 7.969 kB / 314.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.01649, allocations: 189.6 kB / 315.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01649, allocations: 0 / 315.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.01676, allocations: 27.98 kB / 315.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.01677, allocations: 4 kB / 315.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.0168, allocations: 8 kB / 315.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.0168, allocations: 3.938 kB / 315.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.0168, allocations: 0 / 315.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.01713, allocations: 234.1 kB / 315.4 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.01716, allocations: 27.78 kB / 315.4 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.01717, allocations: 4 kB / 315.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.01725, allocations: 3.938 kB / 315.4 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.01727, allocations: 15.98 kB / 315.4 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.01727, allocations: 0 / 315.4 MB, free: 332 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.811e-05/0.01733, allocations: 78.77 kB / 315.5 MB, free: 248 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01733, allocations: 0 / 315.5 MB, free: 248 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002009/0.01753, allocations: 83.58 kB / 315.6 MB, free: 164 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 8.183e-05/0.01761, allocations: 84.34 kB / 315.7 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.01775, allocations: 92.75 kB / 315.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.01776, allocations: 0 / 315.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.0178, allocations: 49.22 kB / 315.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.01798, allocations: 45.19 kB / 315.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.01858, allocations: 0.6319 MB / 316.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.666e-05/0.01864, allocations: 100.2 kB / 316.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.064e-05/0.0187, allocations: 21.94 kB / 316.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.078e-05/0.01878, allocations: 71.38 kB / 316.7 MB, free: 15 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01878, allocations: 3.938 kB / 316.7 MB, free: 15 MB / 298.7 MB Notification: Performance of Templates: time 0.003549/0.02233, allocations: 1.605 MB / 318.3 MB, free: 13.43 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 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.84838338335976]