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.0009154/0.0009154, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009091/0.0009091, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.1251/0.1251, allocations: 21.79 MB / 282.8 MB, free: 7.051 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.024e-06/2.024e-06, allocations: 0 / 360 MB, free: 3.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.84e-05, allocations: 2.312 kB / 360 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.002883/0.002901, allocations: 1.867 MB / 361.8 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006647/0.003566, allocations: 326.7 kB / 362.2 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.00377, allocations: 11.94 kB / 362.2 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.003973, allocations: 71.19 kB / 362.2 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.004102, allocations: 35.5 kB / 362.3 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.004398, allocations: 159.8 kB / 362.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003824/0.00478, allocations: 408.4 kB / 362.8 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.00514, allocations: 230.6 kB / 363.1 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.005342, allocations: 235.4 kB / 363.3 MB, free: 324 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.005479, allocations: 123.5 kB / 363.4 MB, free: 200 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.005538, allocations: 40 kB / 363.4 MB, free: 160 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.701e-05/0.005585, allocations: 51.94 kB / 363.5 MB, free: 108 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.005657, allocations: 95.59 kB / 363.6 MB, free: 12 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.005773, allocations: 127.7 kB / 363.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.00609, allocations: 298.5 kB / 364 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.006093, allocations: 4 kB / 364 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.006094, allocations: 0 / 364 MB, free: 15.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.006099, allocations: 0 / 364 MB, free: 15.59 MB / 298.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.0007366/0.006836, allocations: 0.7534 MB / 364.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.006866, allocations: 8.031 kB / 364.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.006967, allocations: 100.6 kB / 364.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.007261, allocations: 292.5 kB / 365.2 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.007291, allocations: 41.69 kB / 365.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.007346, allocations: 56.38 kB / 365.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006414/0.01376, allocations: 406.1 kB / 365.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.01378, allocations: 192 / 365.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.01381, allocations: 24.38 kB / 365.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.01382, allocations: 16.38 kB / 365.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.01403, allocations: 138.7 kB / 365.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.01555, allocations: 1.855 MB / 367.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.01582, allocations: 139.3 kB / 367.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.01587, allocations: 39.61 kB / 367.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.01588, allocations: 11.94 kB / 367.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.01591, allocations: 41.34 kB / 367.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.01591, allocations: 0 / 367.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002372/0.01614, allocations: 145.5 kB / 368 MB, free: 11.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.01617, allocations: 55.41 kB / 368.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.01634, allocations: 280.2 kB / 368.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.01636, allocations: 29.7 kB / 368.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.0165, allocations: 326.8 kB / 368.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.01654, allocations: 67.38 kB / 368.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006096/0.02264, allocations: 59.33 kB / 368.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.02278, allocations: 0.5117 MB / 369.4 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.845e-05/0.02283, allocations: 23.98 kB / 369.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.02293, allocations: 121 kB / 369.5 MB, free: 9.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.02311, allocations: 163.8 kB / 369.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.02312, allocations: 0 / 369.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002649/0.02338, allocations: 195.9 kB / 369.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.0234, allocations: 10.97 kB / 369.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.0234, allocations: 0 / 369.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.02342, allocations: 4 kB / 369.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.02359, allocations: 47.92 kB / 369.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.0236, allocations: 4 kB / 369.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.626e-05/0.02369, allocations: 28.05 kB / 369.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.0237, allocations: 15.94 kB / 370 MB, free: 9.281 MB / 298.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.0001179/0.02382, allocations: 164.6 kB / 370.1 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.02387, allocations: 43.69 kB / 370.2 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.02392, allocations: 26.11 kB / 370.2 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.02392, allocations: 4 kB / 370.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.02392, allocations: 0 / 370.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.02393, allocations: 0 / 370.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.0242, allocations: 217 kB / 370.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.0242, allocations: 0 / 370.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.02434, allocations: 27.98 kB / 370.4 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.02435, allocations: 4 kB / 370.4 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.02436, allocations: 7.938 kB / 370.4 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.02437, allocations: 4 kB / 370.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.02437, allocations: 4 kB / 370.5 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.02466, allocations: 318.7 kB / 370.8 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.02468, allocations: 15.86 kB / 370.8 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.02471, allocations: 11.94 kB / 370.8 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.02478, allocations: 4 kB / 370.8 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.0248, allocations: 11.97 kB / 370.8 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.02481, allocations: 4 kB / 370.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.893e-05/0.0249, allocations: 189.1 kB / 371 MB, free: 8.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0249, allocations: 0 / 371 MB, free: 8.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.02519, allocations: 91.52 kB / 371.1 MB, free: 8.102 MB / 298.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 7.468e-05/0.02527, allocations: 102.7 kB / 371.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.006167/0.03143, allocations: 99.48 kB / 371.3 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.03143, allocations: 4 kB / 371.3 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.03151, allocations: 51.55 kB / 371.3 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.03183, allocations: 43.25 kB / 371.4 MB, free: 7.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007637/0.0326, allocations: 0.6447 MB / 372 MB, free: 7.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.345e-05/0.03267, allocations: 100.2 kB / 372.1 MB, free: 7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.519e-05/0.03274, allocations: 17.95 kB / 372.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.03285, allocations: 94.19 kB / 372.2 MB, free: 6.887 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03285, allocations: 0 / 372.2 MB, free: 6.887 MB / 298.7 MB Notification: Performance of Templates: time 0.01042/0.04327, allocations: 1.633 MB / 373.9 MB, free: 5.273 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.9562584459781647]