Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 116.6 kB / 16.38 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 191.2 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.3 MB / 0.5496 GB, free: 17.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.91 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2165, allocations: 114.6 MB / 0.7848 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.4497/0.6663, allocations: 67.08 MB / 0.8503 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03054/0.6969, allocations: 19.31 MB / 0.8692 GB, free: 7.262 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003904/0.7008, allocations: 90.22 kB / 0.8693 GB, free: 7.23 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004224/0.7051, allocations: 1.218 MB / 0.8704 GB, free: 6.523 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009607/0.7148, allocations: 2.634 MB / 0.873 GB, free: 4.973 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.7274, allocations: 3.735 MB / 0.8767 GB, free: 2.684 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01134/0.7387, allocations: 5.371 MB / 0.8819 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003739/0.7425, allocations: 1.893 MB / 0.8838 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006312/0.7488, allocations: 2.107 MB / 0.8858 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/0.7522, allocations: 1.494 MB / 0.8873 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006252/0.7528, allocations: 190.6 kB / 0.8875 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005932/0.7587, allocations: 2.1 MB / 0.8895 GB, free: 11 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009346/0.7597, allocations: 0.5604 MB / 0.8901 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.7617, allocations: 1.145 MB / 0.8912 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006785/0.7685, allocations: 3.772 MB / 0.8949 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7686, allocations: 0 / 0.8949 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7686, allocations: 0 / 0.8949 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.085e-05/0.7686, allocations: 0 / 0.8949 GB, free: 7.27 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.005441/0.7741, allocations: 2.722 MB / 0.8975 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.7741, allocations: 9.625 kB / 0.8975 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.7758, allocations: 375 kB / 0.8979 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003822/0.7796, allocations: 1.8 MB / 0.8996 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.7797, allocations: 101.4 kB / 0.8997 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002928/0.78, allocations: 129.6 kB / 0.8999 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.7829, allocations: 1.449 MB / 0.9013 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.7829, allocations: 9.328 kB / 0.9013 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.7831, allocations: 57.66 kB / 0.9013 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.7831, allocations: 32.16 kB / 0.9014 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.7858, allocations: 1.094 MB / 0.9024 GB, free: 1.828 MB / 0.6856 GB 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.01017/0.796, allocations: 7.325 MB / 0.9096 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.7983, allocations: 1.295 MB / 0.9109 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.7993, allocations: 423.2 kB / 0.9113 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003676/0.803, allocations: 2.31 MB / 0.9135 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.804, allocations: 466.9 kB / 0.914 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=66): time 2.455e-06/0.8041, allocations: 0 / 0.914 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of matching and sorting (n=66): time 0.003276/0.8073, allocations: 1.26 MB / 0.9152 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.8074, allocations: 115.4 kB / 0.9153 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.8094, allocations: 1.497 MB / 0.9168 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-05/0.8095, allocations: 49.7 kB / 0.9168 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008188/0.8104, allocations: 0.9075 MB / 0.9177 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.8106, allocations: 232.6 kB / 0.9179 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/0.8109, allocations: 214.4 kB / 0.9181 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8111, allocations: 349.9 kB / 0.9185 GB, free: 424 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009375/0.812, allocations: 404.9 kB / 0.9188 GB, free: 20 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.8134, allocations: 0.7603 MB / 0.9196 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.8154, allocations: 1.131 MB / 0.9207 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.8154, allocations: 0 / 0.9207 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002837/0.8183, allocations: 1.334 MB / 0.922 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.8183, allocations: 37.7 kB / 0.922 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.8184, allocations: 8.625 kB / 0.922 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.8184, allocations: 16 kB / 0.9221 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.8194, allocations: 255.6 kB / 0.9223 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/0.8195, allocations: 23.92 kB / 0.9223 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.8207, allocations: 131.6 kB / 0.9224 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.8208, allocations: 51.98 kB / 0.9225 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00151/0.8223, allocations: 0.7208 MB / 0.9232 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001156/0.8235, allocations: 0.7447 MB / 0.9239 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001982/0.8255, allocations: 1.1 MB / 0.925 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.943e-06/0.8255, allocations: 5.484 kB / 0.925 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.002775/0.8283, allocations: 1.303 MB / 0.9263 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.8283, allocations: 35.89 kB / 0.9263 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.8284, allocations: 12.62 kB / 0.9263 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.8284, allocations: 16 kB / 0.9263 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009876/0.8294, allocations: 251.6 kB / 0.9266 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.8294, allocations: 23.92 kB / 0.9266 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.8306, allocations: 123.8 kB / 0.9267 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/0.8307, allocations: 55.92 kB / 0.9268 GB, free: 7.262 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003291/0.8311, allocations: 249.4 kB / 0.927 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.8314, allocations: 165.9 kB / 0.9272 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.834, allocations: 1.116 MB / 0.9283 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001836/0.8358, allocations: 0.8237 MB / 0.9291 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.8359, allocations: 0 / 0.9291 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007267/0.8366, allocations: 342.6 kB / 0.9294 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.8368, allocations: 16 kB / 0.9294 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/0.8376, allocations: 55.94 kB / 0.9295 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.8378, allocations: 52.58 kB / 0.9295 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002755/0.8406, allocations: 1.072 MB / 0.9306 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003198/0.8438, allocations: 1.619 MB / 0.9321 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009244/0.8447, allocations: 433 kB / 0.9325 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001655/0.8464, allocations: 1.001 MB / 0.9335 GB, free: 288 kB / 0.7169 GB Notification: Performance of Backend: time 8.42e-07/0.8464, allocations: 0 / 0.9335 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006038/0.8524, allocations: 2.034 MB / 0.9355 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of SimCode: time 0.007862/0.8603, allocations: 4.01 MB / 0.9394 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.06415/0.9245, allocations: 38.83 MB / 0.9773 GB, free: 3.895 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)