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.001231/0.001231, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001338/0.001338, allocations: 156.4 kB / 23.01 MB, free: 4.949 MB / 14.72 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.35/1.35, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.12/0.12, allocations: 17.45 MB / 277.2 MB, free: 15.18 MB / 270.1 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: 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.002044/0.002044, allocations: 63.91 kB / 412.6 MB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1169, allocations: 59.88 MB / 472.4 MB, free: 9.574 MB / 446.1 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.4643/0.5811, allocations: 25.89 MB / 498.3 MB, free: 39.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008084/0.5892, allocations: 7.501 MB / 0.494 GB, free: 35.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.5897, allocations: 24.5 kB / 0.494 GB, free: 35.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.5916, allocations: 0.6726 MB / 0.4947 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.5926, allocations: 0.5866 MB / 0.4952 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.594, allocations: 0.8022 MB / 0.496 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.5951, allocations: 1.153 MB / 0.4971 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.5953, allocations: 157.6 kB / 0.4973 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004756/0.5958, allocations: 392.4 kB / 0.4977 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006969/0.5965, allocations: 0.4901 MB / 0.4981 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.5966, allocations: 81.19 kB / 0.4982 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.5984, allocations: 0.9398 MB / 0.4991 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.5985, allocations: 263.5 kB / 0.4994 GB, free: 33.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.5989, allocations: 416.7 kB / 0.4998 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.6012, allocations: 2.287 MB / 0.502 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6013, allocations: 0 / 0.502 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6013, allocations: 0 / 0.502 GB, free: 32.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.6013, allocations: 1.156 kB / 0.502 GB, free: 32.26 MB / 446.1 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.001932/0.6032, allocations: 1.401 MB / 0.5034 GB, free: 31.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.6032, allocations: 9 kB / 0.5034 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005274/0.6038, allocations: 205.3 kB / 0.5036 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/0.6044, allocations: 0.4989 MB / 0.5041 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.6045, allocations: 126.1 kB / 0.5042 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.6047, allocations: 86.88 kB / 0.5043 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003084/0.6078, allocations: 3.22 MB / 0.5074 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.6078, allocations: 1.219 kB / 0.5074 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.6078, allocations: 42.52 kB / 0.5075 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.608, allocations: 132 kB / 0.5076 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005549/0.6135, allocations: 6.238 MB / 0.5137 GB, free: 26.94 MB / 446.1 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.006116/0.6196, allocations: 4.662 MB / 0.5182 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006796/0.6203, allocations: 404.7 kB / 0.5186 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.6206, allocations: 257.2 kB / 0.5189 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003291/0.6239, allocations: 2.147 MB / 0.521 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.6239, allocations: 35.73 kB / 0.521 GB, free: 23.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.874e-06/0.6239, allocations: 4 kB / 0.521 GB, free: 23.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.01547/0.6394, allocations: 3.964 MB / 0.5249 GB, free: 21.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.6394, allocations: 54.81 kB / 0.5249 GB, free: 21.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007012/0.6401, allocations: 0.7223 MB / 0.5256 GB, free: 21.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.6402, allocations: 33.14 kB / 0.5257 GB, free: 21.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.6405, allocations: 0.6465 MB / 0.5263 GB, free: 20.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.6406, allocations: 177.2 kB / 0.5265 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.6408, allocations: 227.8 kB / 0.5267 GB, free: 20.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.6409, allocations: 387.7 kB / 0.5271 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.6413, allocations: 290.1 kB / 0.5273 GB, free: 20.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.6418, allocations: 0.6576 MB / 0.528 GB, free: 19.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009643/0.6427, allocations: 1.032 MB / 0.529 GB, free: 18.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6427, allocations: 3.438 kB / 0.529 GB, free: 18.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004458/0.6472, allocations: 1.513 MB / 0.5305 GB, free: 18.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.6472, allocations: 12.16 kB / 0.5305 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.6472, allocations: 11.94 kB / 0.5305 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00433/0.6516, allocations: 0.6627 MB / 0.5311 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.6529, allocations: 360.5 kB / 0.5315 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.6558, allocations: 2.821 MB / 0.5342 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008102/0.6566, allocations: 43.58 kB / 0.5343 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.6567, allocations: 128.8 kB / 0.5344 GB, free: 15.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (94): * Single equations (assignments): 91 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,5), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005447/0.6573, allocations: 365.7 kB / 0.5348 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.6574, allocations: 79.48 kB / 0.5348 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004489/0.6619, allocations: 1.435 MB / 0.5362 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.6619, allocations: 4 kB / 0.5362 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6619, allocations: 0 / 0.5362 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.6619, allocations: 7.281 kB / 0.5362 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.6631, allocations: 0.8463 MB / 0.5371 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.6631, allocations: 7.406 kB / 0.5371 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.6642, allocations: 249.9 kB / 0.5373 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004053/0.6682, allocations: 0.5391 MB / 0.5378 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.499e-05/0.6683, allocations: 32.22 kB / 0.5379 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005252/0.6736, allocations: 4.124 MB / 0.5419 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6736, allocations: 7.984 kB / 0.5419 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004596/0.6782, allocations: 1.516 MB / 0.5434 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.6784, allocations: 76.97 kB / 0.5435 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.6786, allocations: 21.39 kB / 0.5435 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.6791, allocations: 21.53 kB / 0.5435 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.6792, allocations: 61.31 kB / 0.5436 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.121e-05/0.6793, allocations: 52.55 kB / 0.5436 GB, free: 6.629 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006492/0.6799, allocations: 0.4888 MB / 0.5441 GB, free: 6.215 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6799, allocations: 0 / 0.5441 GB, free: 6.215 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001254/0.6812, allocations: 301 kB / 0.5444 GB, free: 5.926 MB / 446.1 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.0006934/0.6819, allocations: 361.5 kB / 0.5447 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.684, allocations: 0.9661 MB / 0.5457 GB, free: 4.715 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.684, allocations: 0 / 0.5457 GB, free: 4.715 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.6852, allocations: 0.6331 MB / 0.5463 GB, free: 4.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/0.6861, allocations: 190.3 kB / 0.5465 GB, free: 3.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.6893, allocations: 2.224 MB / 0.5486 GB, free: 1.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.6899, allocations: 0.5124 MB / 0.5491 GB, free: 1.434 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008886/0.6908, allocations: 326.9 kB / 0.5494 GB, free: 1.145 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.6911, allocations: 131.8 kB / 0.5496 GB, free: 1.027 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6911, allocations: 4 kB / 0.5496 GB, free: 1.023 MB / 446.1 MB Notification: Performance of Templates: time 0.03536/0.7265, allocations: 19.8 MB / 0.5689 GB, free: 176 kB / 462.1 MB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.577751376084052] Failed to read output from testmodel.py, exit status != 0: 0.7357838979223743 0.750974266 0.14667892800000001 Calling exit ...