Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007659/0.0007659, allocations: 76.45 kB / 19.9 MB, free: 16 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.001405/0.001405, allocations: 170.2 kB / 23.18 MB, free: 1.383 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.177/1.177, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1373/0.1373, allocations: 17.38 MB / 277.4 MB, free: 11.87 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 67.91 kB / 412.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4318, allocations: 59.84 MB / 472.6 MB, free: 29.76 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343: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 2.0.0/Boundaries.mo:1343:7-1343: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.0435/0.4753, allocations: 25.99 MB / 498.6 MB, free: 19.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.4854, allocations: 7.242 MB / 0.494 GB, free: 14.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.4868, allocations: 19.88 kB / 0.494 GB, free: 14.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.4897, allocations: 0.7185 MB / 0.4947 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.492, allocations: 0.5507 MB / 0.4953 GB, free: 13.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.495, allocations: 0.7449 MB / 0.496 GB, free: 12.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.4972, allocations: 1.122 MB / 0.4971 GB, free: 11.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.4975, allocations: 152.7 kB / 0.4972 GB, free: 11.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.4982, allocations: 0.5766 MB / 0.4978 GB, free: 11.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.4987, allocations: 378.7 kB / 0.4982 GB, free: 10.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.4988, allocations: 80 kB / 0.4982 GB, free: 10.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.5026, allocations: 0.951 MB / 0.4992 GB, free: 9.988 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.5029, allocations: 275.5 kB / 0.4994 GB, free: 9.762 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004293/0.5034, allocations: 416.4 kB / 0.4998 GB, free: 9.383 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006463/0.5098, allocations: 2.329 MB / 0.5021 GB, free: 7.621 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.5098, allocations: 4 kB / 0.5021 GB, free: 7.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.578e-06/0.5098, allocations: 0 / 0.5021 GB, free: 7.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.585e-05/0.5099, allocations: 0 / 0.5021 GB, free: 7.617 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002385/0.5122, allocations: 1.397 MB / 0.5035 GB, free: 6.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.876e-05/0.5123, allocations: 12.69 kB / 0.5035 GB, free: 6.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/0.5129, allocations: 217.3 kB / 0.5037 GB, free: 6.117 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/0.5137, allocations: 0.5439 MB / 0.5042 GB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.514, allocations: 172.3 kB / 0.5044 GB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.5141, allocations: 88.31 kB / 0.5045 GB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.517, allocations: 3.797 MB / 0.5082 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.5171, allocations: 3.984 kB / 0.5082 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.5171, allocations: 36 kB / 0.5082 GB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.5173, allocations: 145.9 kB / 0.5084 GB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005515/0.5228, allocations: 6.748 MB / 0.5149 GB, free: 11.35 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.5344, allocations: 8.714 MB / 0.5235 GB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.5367, allocations: 1.737 MB / 0.5252 GB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.5382, allocations: 1.355 MB / 0.5265 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.5395, allocations: 0.6336 MB / 0.5271 GB, free: 116 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.5395, allocations: 38.56 kB / 0.5271 GB, free: 68 kB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 7.253e-06/0.5395, allocations: 0 / 0.5271 GB, free: 68 kB / 426.7 MB Notification: Performance of matching and sorting (n=68): time 0.03305/0.5726, allocations: 15.28 MB / 0.5421 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0438/0.6164, allocations: 21.98 MB / 0.5635 GB, free: 10.49 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008543/0.6172, allocations: 0.6211 MB / 0.5641 GB, free: 9.859 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003799/0.6176, allocations: 41.7 kB / 0.5642 GB, free: 9.812 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.618, allocations: 0.5353 MB / 0.5647 GB, free: 9.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/0.6183, allocations: 241.9 kB / 0.5649 GB, free: 9.031 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004808/0.6188, allocations: 270.7 kB / 0.5652 GB, free: 8.762 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.619, allocations: 386.8 kB / 0.5656 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/0.6215, allocations: 2.423 MB / 0.5679 GB, free: 5.949 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/0.6241, allocations: 2.561 MB / 0.5704 GB, free: 3.344 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/0.628, allocations: 3.341 MB / 0.5737 GB, free: 15.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.628, allocations: 4 kB / 0.5737 GB, free: 15.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01107/0.6391, allocations: 6.78 MB / 0.5803 GB, free: 9.148 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.6391, allocations: 8 kB / 0.5803 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.6392, allocations: 7.938 kB / 0.5803 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008416/0.6476, allocations: 3.464 MB / 0.5837 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.6491, allocations: 315.6 kB / 0.584 GB, free: 5.348 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/0.6656, allocations: 13.28 MB / 0.597 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.667, allocations: 79.92 kB / 0.597 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.6673, allocations: 180.1 kB / 0.5972 GB, free: 7.648 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (70): * Single equations (assignments): 65 * Array equations: 2 * 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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.6683, allocations: 333.6 kB / 0.5975 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.6687, allocations: 79.47 kB / 0.5976 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007942/0.6766, allocations: 4.422 MB / 0.6019 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007117/0.6837, allocations: 3.673 MB / 0.6055 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/0.6837, allocations: 7.938 kB / 0.6055 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/0.6838, allocations: 3.984 kB / 0.6055 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.6956, allocations: 6.858 MB / 0.6122 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.6956, allocations: 7.938 kB / 0.6122 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009141/0.6966, allocations: 167.8 kB / 0.6124 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01541/0.712, allocations: 3.751 MB / 0.6161 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003274/0.7123, allocations: 51.94 kB / 0.6161 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009787/0.7221, allocations: 6.316 MB / 0.6223 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.376/1.098, allocations: 14.26 MB / 0.6362 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008941/1.107, allocations: 5.68 MB / 0.6417 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/1.107, allocations: 77.5 kB / 0.6418 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/1.107, allocations: 23.41 kB / 0.6418 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/1.108, allocations: 56 kB / 0.6419 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002745/1.108, allocations: 99.45 kB / 0.642 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.108, allocations: 87.38 kB / 0.6421 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005857/1.109, allocations: 0.6938 MB / 0.6428 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/1.109, allocations: 0 / 0.6428 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00145/1.11, allocations: 0.5733 MB / 0.6433 GB, free: 141.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 ($STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 1 ($cse15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005683/1.111, allocations: 362.7 kB / 0.6437 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003536/1.115, allocations: 3.672 MB / 0.6472 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.115, allocations: 0 / 0.6472 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.116, allocations: 1.464 MB / 0.6487 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/1.117, allocations: 191.2 kB / 0.6489 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/1.12, allocations: 3.026 MB / 0.6518 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/1.121, allocations: 0.5355 MB / 0.6523 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007153/1.121, allocations: 266.7 kB / 0.6526 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/1.122, allocations: 104.2 kB / 0.6527 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/1.122, allocations: 0 / 0.6527 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.04583/1.168, allocations: 49.69 MB / 0.7012 GB, free: 106.4 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.745627759024501] Failed to read output from testmodel.py, exit status != 0: 1.1759709119796753 1.18201194 0.670503337 Calling exit ...