Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.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.001108/0.001108, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001223/0.001223, allocations: 169 kB / 24.06 MB, free: 456 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.048/1.048, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.102/0.102, allocations: 17.46 MB / 278.5 MB, free: 11.41 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.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 354.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.606e-05, allocations: 2.312 kB / 354.8 MB, free: 10.63 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.03673/0.03675, allocations: 29.39 MB / 384.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008164/0.04491, allocations: 8.913 MB / 393.1 MB, free: 4.379 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.04532, allocations: 27.75 kB / 393.1 MB, free: 4.352 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.04672, allocations: 0.7962 MB / 393.9 MB, free: 3.551 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008295/0.04755, allocations: 0.7291 MB / 394.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009783/0.04853, allocations: 0.94 MB / 395.6 MB, free: 1.871 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008892/0.04942, allocations: 1.258 MB / 396.8 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.0496, allocations: 161.9 kB / 397 MB, free: 448 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003962/0.04999, allocations: 0.604 MB / 397.6 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004394/0.05043, allocations: 478.8 kB / 398.1 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.504e-05/0.0505, allocations: 80 kB / 398.1 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.05169, allocations: 1.185 MB / 399.3 MB, free: 14.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.05184, allocations: 290.9 kB / 399.6 MB, free: 13.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.05205, allocations: 343 kB / 399.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.05383, allocations: 2.013 MB / 401.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.05383, allocations: 0 / 401.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.05383, allocations: 0 / 401.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.05384, allocations: 0 / 401.9 MB, free: 11.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001279/0.05512, allocations: 1.596 MB / 403.5 MB, free: 9.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.05515, allocations: 8.031 kB / 403.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004637/0.05561, allocations: 471.8 kB / 404 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.0562, allocations: 0.7102 MB / 404.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.05628, allocations: 126 kB / 404.8 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.667e-05/0.05636, allocations: 92.31 kB / 404.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007546/0.05711, allocations: 0.9241 MB / 405.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.05713, allocations: 192 / 405.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.05717, allocations: 44.09 kB / 405.9 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.225e-05/0.05727, allocations: 130.1 kB / 406 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.05832, allocations: 1.37 MB / 407.4 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003611/0.06193, allocations: 3.879 MB / 411.3 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.06229, allocations: 290.9 kB / 411.6 MB, free: 1.633 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.06243, allocations: 147.6 kB / 411.7 MB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001966/0.06439, allocations: 2.128 MB / 413.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.06441, allocations: 41.67 kB / 413.9 MB, free: 15.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.06442, allocations: 4 kB / 413.9 MB, free: 15.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=46): time 0.007268/0.07168, allocations: 3.17 MB / 417.1 MB, free: 11.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.07171, allocations: 59.41 kB / 417.1 MB, free: 11.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.07222, allocations: 0.7759 MB / 417.9 MB, free: 11.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.07226, allocations: 37.7 kB / 417.9 MB, free: 11.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.0726, allocations: 0.7281 MB / 418.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.07272, allocations: 174.5 kB / 418.8 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.07293, allocations: 220.1 kB / 419 MB, free: 9.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.07314, allocations: 0.6014 MB / 419.6 MB, free: 9.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.07333, allocations: 153.9 kB / 419.8 MB, free: 9.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.07377, allocations: 0.6823 MB / 420.5 MB, free: 8.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006449/0.07441, allocations: 0.9231 MB / 421.4 MB, free: 7.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.07441, allocations: 4 kB / 421.4 MB, free: 7.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002478/0.07689, allocations: 1.221 MB / 422.6 MB, free: 5.863 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.07691, allocations: 12 kB / 422.6 MB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.07692, allocations: 12 kB / 422.6 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002975/0.07989, allocations: 0.8231 MB / 423.5 MB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.08052, allocations: 307.5 kB / 423.8 MB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.08422, allocations: 5.034 MB / 428.8 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.0845, allocations: 32 kB / 428.8 MB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-05/0.08459, allocations: 104 kB / 428.9 MB, free: 15.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 2 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * 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,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.0848, allocations: 220.2 kB / 429.1 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.08519, allocations: 103.5 kB / 429.2 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/0.0874, allocations: 1.117 MB / 430.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.08741, allocations: 4 kB / 430.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.08741, allocations: 0 / 430.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.08741, allocations: 3.984 kB / 430.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007783/0.08819, allocations: 0.9425 MB / 431.3 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.0882, allocations: 7.938 kB / 431.3 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.08871, allocations: 203.8 kB / 431.5 MB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/0.0915, allocations: 0.7286 MB / 432.3 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.09154, allocations: 31.98 kB / 432.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/0.09492, allocations: 4.746 MB / 437 MB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.09493, allocations: 8.172 kB / 437 MB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.097, allocations: 1.176 MB / 438.2 MB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.09706, allocations: 79.36 kB / 438.3 MB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.09713, allocations: 12 kB / 438.3 MB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.09733, allocations: 23.92 kB / 438.3 MB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/0.09741, allocations: 56.41 kB / 438.4 MB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.09746, allocations: 47.98 kB / 438.4 MB, free: 5.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002472/0.0977, allocations: 414.8 kB / 438.8 MB, free: 4.918 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0977, allocations: 4.031 kB / 438.8 MB, free: 4.914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007001/0.0984, allocations: 303.7 kB / 439.1 MB, free: 4.617 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (solution.temperature,liquidWater.logm) * 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 (47): * Single equations (assignments): 44 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004084/0.09881, allocations: 355 kB / 439.5 MB, free: 4.258 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.09991, allocations: 1.002 MB / 440.5 MB, free: 3.219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.09992, allocations: 4.438 kB / 440.5 MB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005914/0.1005, allocations: 0.6472 MB / 441.1 MB, free: 2.527 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.1011, allocations: 214.7 kB / 441.3 MB, free: 2.324 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.1034, allocations: 1.972 MB / 443.3 MB, free: 284 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.1038, allocations: 239.6 kB / 443.5 MB, free: 24 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.1173/0.2212, allocations: 280.4 kB / 443.8 MB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/0.2216, allocations: 297.6 kB / 444.1 MB, free: 106 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2216, allocations: 0 / 444.1 MB, free: 106 MB / 410.7 MB Notification: Performance of Templates: time 0.02259/0.2442, allocations: 22.89 MB / 467 MB, free: 104.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.017267874907702]