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.001156/0.001156, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.004514/0.004514, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.046/1.046, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.09562/0.09562, allocations: 17.46 MB / 277.7 MB, free: 11.42 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.623e-06/1.623e-06, allocations: 3.938 kB / 354 MB, free: 9.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.116e-05, allocations: 9.625 kB / 354 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003957/0.003988, allocations: 3.453 MB / 357.4 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003765/0.007753, allocations: 4.67 MB / 362.1 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.007898, allocations: 15.88 kB / 362.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.008182, allocations: 111 kB / 362.2 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006251/0.008807, allocations: 464.5 kB / 362.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.009394, allocations: 0.5475 MB / 363.2 MB, free: 288 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.009832, allocations: 0.6075 MB / 363.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.0101, allocations: 317 kB / 364.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.01039, allocations: 411.3 kB / 364.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.01065, allocations: 251.4 kB / 364.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.792e-05/0.0107, allocations: 52 kB / 364.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.01121, allocations: 455.1 kB / 365.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.0113, allocations: 123.6 kB / 365.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.01143, allocations: 207.5 kB / 365.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007824/0.01221, allocations: 0.9182 MB / 366.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.01222, allocations: 0 / 366.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.01222, allocations: 0 / 366.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.01223, allocations: 4 kB / 366.5 MB, free: 12.96 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.0008072/0.01303, allocations: 0.9002 MB / 367.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.01306, allocations: 12.03 kB / 367.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.01331, allocations: 156 kB / 367.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.01362, allocations: 319.2 kB / 367.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.01364, allocations: 37.38 kB / 368 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.01369, allocations: 52.27 kB / 368 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.014, allocations: 315 kB / 368.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.01401, allocations: 4.188 kB / 368.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.01404, allocations: 16.38 kB / 368.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.01404, allocations: 15.94 kB / 368.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.01434, allocations: 290.7 kB / 368.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.01557, allocations: 1.174 MB / 369.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.01594, allocations: 314.9 kB / 370.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.016, allocations: 71.64 kB / 370.2 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.01701, allocations: 0.9475 MB / 371.1 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.01703, allocations: 37.39 kB / 371.2 MB, free: 8.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.012e-06/0.01703, allocations: 0 / 371.2 MB, free: 8.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.00574/0.02277, allocations: 1.857 MB / 373 MB, free: 6.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.02286, allocations: 55.41 kB / 373.1 MB, free: 6.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.02303, allocations: 330 kB / 373.4 MB, free: 5.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.02305, allocations: 29.7 kB / 373.4 MB, free: 5.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.02318, allocations: 330.8 kB / 373.8 MB, free: 5.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.02324, allocations: 115 kB / 373.9 MB, free: 5.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.242e-05/0.02333, allocations: 91.77 kB / 374 MB, free: 5.281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.02346, allocations: 0.5156 MB / 374.5 MB, free: 4.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.02355, allocations: 89.58 kB / 374.6 MB, free: 4.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.02385, allocations: 255.5 kB / 374.8 MB, free: 4.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.02412, allocations: 367.7 kB / 375.2 MB, free: 3.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.02412, allocations: 4 kB / 375.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001855/0.02598, allocations: 0.6689 MB / 375.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.026, allocations: 10.03 kB / 375.9 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.026, allocations: 4.531 kB / 375.9 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.02888, allocations: 0.6275 MB / 376.5 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.02902, allocations: 79.91 kB / 376.6 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003361/0.03238, allocations: 4.074 MB / 380.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.03252, allocations: 16 kB / 380.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.03255, allocations: 19.98 kB / 380.7 MB, free: 14.15 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.000118/0.03267, allocations: 192.4 kB / 380.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.03273, allocations: 43.77 kB / 380.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.03469, allocations: 0.6944 MB / 381.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.03469, allocations: 4 kB / 381.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.03469, allocations: 0 / 381.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.0347, allocations: 3.984 kB / 381.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.03509, allocations: 0.4883 MB / 382.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.03509, allocations: 8.234 kB / 382.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.03519, allocations: 55.92 kB / 382.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002879/0.03806, allocations: 0.756 MB / 382.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.03809, allocations: 19.98 kB / 382.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003885/0.04197, allocations: 5.739 MB / 388.7 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.04197, allocations: 4 kB / 388.7 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.04403, allocations: 0.963 MB / 389.6 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.04406, allocations: 31.77 kB / 389.7 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.04409, allocations: 23.88 kB / 389.7 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.04422, allocations: 11.98 kB / 389.7 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.04428, allocations: 43.92 kB / 389.7 MB, free: 4.539 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.0443, allocations: 12.03 kB / 389.8 MB, free: 4.527 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.518e-05/0.04439, allocations: 214.9 kB / 390 MB, free: 4.316 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04439, allocations: 0 / 390 MB, free: 4.316 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.0449, allocations: 235.5 kB / 390.2 MB, free: 4.086 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.000323/0.04522, allocations: 310.5 kB / 390.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006508/0.04587, allocations: 0.6923 MB / 391.2 MB, free: 3.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.04587, allocations: 4 kB / 391.2 MB, free: 3.039 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.04634, allocations: 0.7316 MB / 391.9 MB, free: 2.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.04672, allocations: 116.5 kB / 392 MB, free: 2.137 MB / 314.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.04828, allocations: 0.9588 MB / 393 MB, free: 1.113 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.04836, allocations: 117.8 kB / 393.1 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.04851, allocations: 79.36 kB / 393.2 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.04869, allocations: 182.1 kB / 393.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.04869, allocations: 0 / 393.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of Templates: time 0.0216/0.07029, allocations: 13.23 MB / 406.6 MB, free: 3.574 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: 3.4377275849692523]