Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.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.001789/0.001789, allocations: 85.48 kB / 19.44 MB, free: 344 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.002015/0.002015, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.612/1.612, 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/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1561/0.1561, allocations: 17.46 MB / 277 MB, free: 11.59 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.413e-05, allocations: 6.25 kB / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.005803/0.005837, allocations: 3.444 MB / 356.3 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007604/0.01344, allocations: 4.764 MB / 361 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005174/0.01396, allocations: 7.938 kB / 361 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.01441, allocations: 95.14 kB / 361.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.01577, allocations: 468.5 kB / 361.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.01738, allocations: 0.5553 MB / 362.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.01841, allocations: 0.6035 MB / 362.7 MB, free: 232 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005114/0.01892, allocations: 317 kB / 363 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005743/0.0195, allocations: 411.2 kB / 363.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.01998, allocations: 255.4 kB / 363.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.02008, allocations: 52 kB / 363.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.02138, allocations: 451.2 kB / 364.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.02155, allocations: 123.6 kB / 364.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.02182, allocations: 203.6 kB / 364.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.02366, allocations: 1.132 MB / 365.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.02367, allocations: 0 / 365.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.02367, allocations: 0 / 365.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.02368, allocations: 0 / 365.6 MB, free: 13.31 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001708/0.02539, allocations: 0.9316 MB / 366.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.02543, allocations: 12.03 kB / 366.6 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004923/0.02592, allocations: 155.9 kB / 366.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008223/0.02674, allocations: 319.2 kB / 367.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.02679, allocations: 33.38 kB / 367.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.515e-05/0.02688, allocations: 52.33 kB / 367.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008417/0.02772, allocations: 446.9 kB / 367.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.02774, allocations: 4.172 kB / 367.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.184e-05/0.02779, allocations: 20.38 kB / 367.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.02781, allocations: 15.94 kB / 367.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009791/0.02879, allocations: 0.4958 MB / 368.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.03172, allocations: 1.407 MB / 369.5 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.03257, allocations: 339.2 kB / 369.8 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.03279, allocations: 107.7 kB / 369.9 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/0.0351, allocations: 0.995 MB / 370.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.03514, allocations: 41.39 kB / 371 MB, free: 7.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.03514, allocations: 0 / 371 MB, free: 7.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.01532/0.05046, allocations: 2.204 MB / 373.2 MB, free: 5.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.05053, allocations: 55.41 kB / 373.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000631/0.05116, allocations: 382.2 kB / 373.6 MB, free: 5.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.05126, allocations: 33.7 kB / 373.6 MB, free: 5.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.05165, allocations: 342.8 kB / 374 MB, free: 4.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.05184, allocations: 119 kB / 374.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.05206, allocations: 103.8 kB / 374.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004457/0.05251, allocations: 0.5274 MB / 374.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.05282, allocations: 141 kB / 374.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.05335, allocations: 327.6 kB / 375.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/0.05419, allocations: 0.4958 MB / 375.7 MB, free: 2.836 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.0542, allocations: 8 kB / 375.7 MB, free: 2.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004292/0.05849, allocations: 0.8566 MB / 376.5 MB, free: 1.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.05852, allocations: 8 kB / 376.6 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.05853, allocations: 4 kB / 376.6 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006102/0.06463, allocations: 0.6826 MB / 377.2 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.06499, allocations: 79.89 kB / 377.3 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008081/0.07307, allocations: 4.76 MB / 382.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.07349, allocations: 23.89 kB / 382.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.07354, allocations: 19.98 kB / 382.1 MB, free: 12.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003278/0.07387, allocations: 208.5 kB / 382.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.07401, allocations: 43.81 kB / 382.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005186/0.0792, allocations: 0.8701 MB / 383.2 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.0792, allocations: 0 / 383.2 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.07921, allocations: 8 kB / 383.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.07921, allocations: 0 / 383.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.08031, allocations: 0.5823 MB / 383.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.08031, allocations: 0 / 383.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.08051, allocations: 47.92 kB / 383.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007527/0.08804, allocations: 0.811 MB / 384.7 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/0.0881, allocations: 16 kB / 384.7 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009744/0.09784, allocations: 6.472 MB / 391.2 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.09785, allocations: 4 kB / 391.2 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005649/0.1035, allocations: 1.244 MB / 392.4 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.1036, allocations: 35.75 kB / 392.5 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.1037, allocations: 12 kB / 392.5 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.104, allocations: 8 kB / 392.5 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.1041, allocations: 51.8 kB / 392.5 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.1042, allocations: 19.98 kB / 392.5 MB, free: 1.133 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002799/0.1045, allocations: 243 kB / 392.8 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1045, allocations: 0 / 392.8 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000966/0.1054, allocations: 235.5 kB / 393 MB, free: 0.6641 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * 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 (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006247/0.1061, allocations: 298.7 kB / 393.3 MB, free: 372 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.1077, allocations: 0.8213 MB / 394.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1077, allocations: 0 / 394.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.1089, allocations: 0.8136 MB / 394.9 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006937/0.1096, allocations: 112.5 kB / 395.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.1116, allocations: 0.993 MB / 396 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1119, allocations: 220.3 kB / 396.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.1122, allocations: 71.42 kB / 396.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1123, allocations: 60.45 kB / 396.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1123, allocations: 4 kB / 396.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of Templates: time 0.0235/0.1358, allocations: 12.09 MB / 408.5 MB, free: 1.102 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.490428549936041]