Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.584/2.584, allocations: 285 MB / 292.5 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001476, allocations: 188.8 kB / 360.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001118, allocations: 90.45 kB / 0.7322 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.115e-05, allocations: 4 kB / 0.8509 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8057/0.8057, allocations: 115.2 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.9/7.706, allocations: 2.354 GB / 3.317 GB, free: 128.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/7.706, allocations: 90.39 kB / 3.318 GB, free: 128.2 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd - DAE generated: time 28.63/36.34, allocations: 5.363 GB / 8.681 GB, free: 42.61 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.174e-06/36.34, allocations: 0 / 8.681 GB, free: 42.61 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.002617/36.34, allocations: 202.8 kB / 8.681 GB, free: 42.41 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1600 * Number of variables: 1600 Notification: Performance of Generate backend data structure: time 0.04244/36.38, allocations: 8.863 MB / 8.69 GB, free: 33.48 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/36.38, allocations: 12.02 kB / 8.69 GB, free: 33.47 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0178/36.4, allocations: 1.862 MB / 8.692 GB, free: 31.59 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05157/36.45, allocations: 14.89 MB / 8.706 GB, free: 16.66 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004766/36.45, allocations: 199.9 kB / 8.706 GB, free: 16.46 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003952/36.46, allocations: 387.9 kB / 8.707 GB, free: 16.09 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02892/36.49, allocations: 9.856 MB / 8.716 GB, free: 6.219 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0386/36.53, allocations: 10.44 MB / 8.726 GB, free: 11.59 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005342/36.53, allocations: 16 kB / 8.727 GB, free: 11.58 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003559/36.53, allocations: 7.938 kB / 8.727 GB, free: 11.57 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005598/36.53, allocations: 292.1 kB / 8.727 GB, free: 11.28 MB / 1.042 GB Warning: The model contains alias variables with conflicting start and/or 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 1.046/37.58, allocations: 48.52 MB / 8.774 GB, free: 84.05 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01512/37.59, allocations: 8.01 MB / 8.782 GB, free: 82.58 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01008/37.6, allocations: 4.409 MB / 8.786 GB, free: 82.54 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001645/37.6, allocations: 0.9386 MB / 8.787 GB, free: 81.6 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.905e-05/37.6, allocations: 79.66 kB / 8.787 GB, free: 81.55 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01152/37.62, allocations: 1.295 MB / 8.789 GB, free: 81.55 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 4.103e-05/37.62, allocations: 0 / 8.789 GB, free: 81.55 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.05605/37.67, allocations: 15.1 MB / 8.803 GB, free: 80.04 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/37.67, allocations: 89.95 kB / 8.803 GB, free: 79.98 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02328/37.69, allocations: 7.622 MB / 8.811 GB, free: 79.63 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001671/37.7, allocations: 33.11 kB / 8.811 GB, free: 79.6 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.006283/37.7, allocations: 3.592 MB / 8.814 GB, free: 78.78 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.003367/37.71, allocations: 1.277 MB / 8.816 GB, free: 78.12 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006034/37.71, allocations: 0 / 8.816 GB, free: 78.12 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0004909/37.71, allocations: 490.9 kB / 8.816 GB, free: 77.81 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0084/37.72, allocations: 3.167 MB / 8.819 GB, free: 77.8 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/37.73, allocations: 4.383 MB / 8.823 GB, free: 76.72 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/37.74, allocations: 4.183 MB / 8.828 GB, free: 76.66 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.797e-05/37.74, allocations: 8.609 kB / 8.828 GB, free: 76.66 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02398/37.76, allocations: 8.025 MB / 8.835 GB, free: 76.23 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002125/37.77, allocations: 9.113 MB / 8.844 GB, free: 66.99 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001522/37.77, allocations: 18.59 kB / 8.844 GB, free: 66.99 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/37.77, allocations: 227.7 kB / 8.845 GB, free: 66.98 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009663/37.78, allocations: 1.109 MB / 8.846 GB, free: 66.98 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/37.78, allocations: 2.773 MB / 8.848 GB, free: 65.78 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01587/37.8, allocations: 1.089 MB / 8.849 GB, free: 65.75 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/37.8, allocations: 163.8 kB / 8.85 GB, free: 65.75 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/37.8, allocations: 3.844 kB / 8.85 GB, free: 65.75 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02203/37.82, allocations: 7.374 MB / 8.857 GB, free: 65.65 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.66e-05/37.82, allocations: 18.88 kB / 8.857 GB, free: 65.65 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009879/37.82, allocations: 222.9 kB / 8.857 GB, free: 65.64 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/37.83, allocations: 1.114 MB / 8.858 GB, free: 65.64 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/37.84, allocations: 2.768 MB / 8.861 GB, free: 64.44 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01639/37.85, allocations: 1.066 MB / 8.862 GB, free: 64.41 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/37.85, allocations: 171.2 kB / 8.862 GB, free: 64.41 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 481 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002557/37.86, allocations: 192.2 kB / 8.862 GB, free: 64.3 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003284/37.86, allocations: 0.6063 MB / 8.863 GB, free: 63.99 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0256/37.89, allocations: 7.513 MB / 8.87 GB, free: 63.77 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.333e-05/37.89, allocations: 41.17 kB / 8.87 GB, free: 63.77 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/37.89, allocations: 3.344 kB / 8.87 GB, free: 63.77 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02131/37.91, allocations: 6.362 MB / 8.876 GB, free: 63.23 MB / 1.057 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.07358/37.98, allocations: 19.26 MB / 8.895 GB, free: 61.63 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/37.98, allocations: 3.875 kB / 8.895 GB, free: 61.63 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01001/37.99, allocations: 1.092 MB / 8.896 GB, free: 61.63 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009646/37.99, allocations: 202.4 kB / 8.896 GB, free: 61.62 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0012/37.99, allocations: 76.95 kB / 8.896 GB, free: 61.62 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00427/38, allocations: 2.74 MB / 8.899 GB, free: 60.42 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-05/38, allocations: 9.344 kB / 8.899 GB, free: 60.42 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02834/38.03, allocations: 12.26 MB / 8.911 GB, free: 58.89 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009986/38.04, allocations: 2.095 MB / 8.913 GB, free: 58.49 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003478/38.04, allocations: 60.19 kB / 8.913 GB, free: 58.49 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01351/38.05, allocations: 0.8806 MB / 8.914 GB, free: 58.47 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001506/38.06, allocations: 231 kB / 8.914 GB, free: 58.46 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001218/38.06, allocations: 140.8 kB / 8.914 GB, free: 58.46 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01652/38.07, allocations: 5.983 MB / 8.92 GB, free: 58.25 MB / 1.057 GB Notification: Performance of sort global known variables: time 7.42e-07/38.07, allocations: 2.094 kB / 8.92 GB, free: 58.25 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.03379/38.11, allocations: 4.32 MB / 8.925 GB, free: 58.25 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 25 (hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (378): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009994/38.12, allocations: 4.644 MB / 8.929 GB, free: 56.39 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02729/38.14, allocations: 11.24 MB / 8.94 GB, free: 56.07 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.89e-05/38.14, allocations: 5 kB / 8.94 GB, free: 56.07 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.008433/38.15, allocations: 3.416 MB / 8.943 GB, free: 55.95 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03872/38.19, allocations: 4.744 MB / 8.948 GB, free: 55.89 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07499/38.27, allocations: 20.78 MB / 8.968 GB, free: 53.12 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01708/38.28, allocations: 7.108 MB / 8.975 GB, free: 52.2 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.05103/38.33, allocations: 11.83 MB / 8.987 GB, free: 52.11 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003624/38.34, allocations: 382.6 kB / 8.987 GB, free: 52.11 MB / 1.057 GB Notification: Performance of SimCode: time 1.673e-06/38.34, allocations: 0 / 8.987 GB, free: 52.11 MB / 1.057 GB Notification: Performance of Templates: time 1.38/39.72, allocations: 179.4 MB / 9.162 GB, free: 141.1 MB / 1.104 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)