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.0009605/0.0009605, allocations: 93.06 kB / 19.65 MB, free: 280 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.001003/0.001003, allocations: 169 kB / 23.02 MB, free: 1.547 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.042/1.042, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.1185/0.1185, allocations: 17.46 MB / 277.4 MB, free: 11.56 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.723e-06/1.723e-06, allocations: 3.938 kB / 353.5 MB, free: 9.887 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.69e-05, allocations: 10.19 kB / 353.5 MB, free: 9.875 MB / 282.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.04123/0.04125, allocations: 29.43 MB / 383 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009562/0.05082, allocations: 9.046 MB / 392 MB, free: 3.492 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.05139, allocations: 35.75 kB / 392 MB, free: 3.457 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.05313, allocations: 0.7807 MB / 392.8 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.05444, allocations: 0.7292 MB / 393.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.05625, allocations: 0.94 MB / 394.5 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.05786, allocations: 1.273 MB / 395.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.05809, allocations: 149.9 kB / 395.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005626/0.05865, allocations: 0.604 MB / 396.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005329/0.05918, allocations: 482.8 kB / 397 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.387e-05/0.05927, allocations: 80 kB / 397.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.06109, allocations: 1.189 MB / 398.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.06126, allocations: 290.9 kB / 398.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.06149, allocations: 351 kB / 398.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.06338, allocations: 2.006 MB / 400.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.06338, allocations: 0 / 400.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.06339, allocations: 3.938 kB / 400.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.0634, allocations: 0 / 400.9 MB, free: 10.56 MB / 330.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.00151/0.06491, allocations: 1.569 MB / 402.5 MB, free: 8.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.585e-05/0.06494, allocations: 12.03 kB / 402.5 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006949/0.06563, allocations: 475.8 kB / 402.9 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006595/0.06629, allocations: 0.7063 MB / 403.6 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.922e-05/0.06639, allocations: 133.9 kB / 403.8 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.724e-05/0.06648, allocations: 88.31 kB / 403.9 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.06766, allocations: 1.131 MB / 405 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.06769, allocations: 4.141 kB / 405 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.06774, allocations: 44.11 kB / 405 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.987e-05/0.06784, allocations: 130.1 kB / 405.2 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.0696, allocations: 1.731 MB / 406.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004087/0.07368, allocations: 3.829 MB / 410.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.07414, allocations: 323 kB / 411 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.07434, allocations: 171.6 kB / 411.2 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1461/0.2205, allocations: 2.128 MB / 413.3 MB, free: 50.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.2205, allocations: 44.34 kB / 413.4 MB, free: 49.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.826e-06/0.2205, allocations: 0 / 413.4 MB, free: 49.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.008918/0.2294, allocations: 3.431 MB / 416.8 MB, free: 49.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.2294, allocations: 57.62 kB / 416.9 MB, free: 49.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007807/0.2302, allocations: 0.7745 MB / 417.6 MB, free: 49.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.2303, allocations: 34.67 kB / 417.7 MB, free: 49.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.2306, allocations: 0.7199 MB / 418.4 MB, free: 48.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.2308, allocations: 172.5 kB / 418.6 MB, free: 48.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/0.231, allocations: 222.9 kB / 418.8 MB, free: 48.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002472/0.2313, allocations: 0.5934 MB / 419.4 MB, free: 48.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.2317, allocations: 189.7 kB / 419.6 MB, free: 48.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.2323, allocations: 0.7109 MB / 420.3 MB, free: 47.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008746/0.2331, allocations: 0.9874 MB / 421.3 MB, free: 46.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.2331, allocations: 3.438 kB / 421.3 MB, free: 46.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002877/0.236, allocations: 1.309 MB / 422.6 MB, free: 46.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.236, allocations: 9.062 kB / 422.6 MB, free: 46.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.236, allocations: 16.59 kB / 422.6 MB, free: 46.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003148/0.2392, allocations: 0.8277 MB / 423.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/0.2399, allocations: 316.4 kB / 423.7 MB, free: 46.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003925/0.2438, allocations: 5.112 MB / 428.8 MB, free: 42.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/0.2444, allocations: 37.47 kB / 428.9 MB, free: 42.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.2445, allocations: 110.9 kB / 429 MB, free: 42.28 MB / 330.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.0003888/0.2449, allocations: 211.6 kB / 429.2 MB, free: 42.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.245, allocations: 104.9 kB / 429.3 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.2473, allocations: 1.168 MB / 430.5 MB, free: 41.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2473, allocations: 6.844 kB / 430.5 MB, free: 41.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2473, allocations: 0 / 430.5 MB, free: 41.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.2473, allocations: 10.98 kB / 430.5 MB, free: 41.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009967/0.2483, allocations: 0.9102 MB / 431.4 MB, free: 41.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.2483, allocations: 3.688 kB / 431.4 MB, free: 41.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.2489, allocations: 200.3 kB / 431.6 MB, free: 41.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/0.2517, allocations: 0.7336 MB / 432.3 MB, free: 41.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/0.2518, allocations: 27.38 kB / 432.4 MB, free: 41.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/0.2546, allocations: 4.822 MB / 437.2 MB, free: 36.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2546, allocations: 3.25 kB / 437.2 MB, free: 36.74 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.2569, allocations: 1.274 MB / 438.5 MB, free: 36.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.257, allocations: 79.69 kB / 438.5 MB, free: 36.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.135e-05/0.2571, allocations: 18.56 kB / 438.6 MB, free: 36.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.2573, allocations: 11.75 kB / 438.6 MB, free: 36.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2574, allocations: 69.95 kB / 438.6 MB, free: 36.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.2574, allocations: 46.2 kB / 438.7 MB, free: 36.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003454/0.2578, allocations: 441.1 kB / 439.1 MB, free: 35.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2578, allocations: 3.719 kB / 439.1 MB, free: 35.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001042/0.2588, allocations: 304.4 kB / 439.4 MB, free: 35.9 MB / 330.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.0004785/0.2593, allocations: 326.3 kB / 439.7 MB, free: 35.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.2607, allocations: 1.069 MB / 440.8 MB, free: 34.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2607, allocations: 0 / 440.8 MB, free: 34.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.2612, allocations: 0.6858 MB / 441.5 MB, free: 34.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.2619, allocations: 224.1 kB / 441.7 MB, free: 34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.2646, allocations: 1.999 MB / 443.7 MB, free: 32.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.2647, allocations: 239.6 kB / 443.9 MB, free: 31.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005782/0.2653, allocations: 293.2 kB / 444.2 MB, free: 31.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.2655, allocations: 122.3 kB / 444.3 MB, free: 31.47 MB / 330.7 MB Notification: Performance of SimCode: time 2.104e-06/0.2655, allocations: 0 / 444.3 MB, free: 31.47 MB / 330.7 MB Notification: Performance of Templates: time 0.02415/0.2897, allocations: 22.5 MB / 466.8 MB, free: 10.07 MB / 330.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.018979893065989]