Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.24/2.24, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001418, allocations: 182.4 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.317/3.317, allocations: 205.4 MB / 0.5772 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001568/0.001567, allocations: 102.6 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007578/0.0007581, allocations: 16.34 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3277, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.48/10.81, allocations: 2.472 GB / 3.371 GB, free: 49.88 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004518/10.81, allocations: 102.7 kB / 3.371 GB, free: 49.82 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 43.53/54.34, allocations: 5.215 GB / 8.586 GB, free: 53.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 7.183e-06/54.34, allocations: 0 / 8.586 GB, free: 53.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.005601/54.34, allocations: 208.5 kB / 8.586 GB, free: 53.57 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1612 * Number of variables: 1612 Notification: Performance of Generate backend data structure: time 0.09025/54.43, allocations: 11.28 MB / 8.597 GB, free: 50.02 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 7.443e-05/54.43, allocations: 12.02 kB / 8.597 GB, free: 50.02 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03547/54.47, allocations: 1.864 MB / 8.599 GB, free: 49.52 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0863/54.56, allocations: 14.75 MB / 8.613 GB, free: 48.32 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00161/54.56, allocations: 484.1 kB / 8.614 GB, free: 48.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007649/54.57, allocations: 0.6481 MB / 8.614 GB, free: 48.29 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0701/54.64, allocations: 11.63 MB / 8.626 GB, free: 47.69 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008804/54.64, allocations: 11.44 kB / 8.626 GB, free: 47.69 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005945/54.64, allocations: 267.8 kB / 8.626 GB, free: 47.69 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008364/54.64, allocations: 293.5 kB / 8.626 GB, free: 47.67 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05694/54.7, allocations: 10.76 MB / 8.637 GB, free: 47.61 MB / 0.9792 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.2039/54.9, allocations: 49.72 MB / 8.685 GB, free: 30.55 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02829/54.93, allocations: 6.943 MB / 8.692 GB, free: 30.26 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01893/54.95, allocations: 4.641 MB / 8.697 GB, free: 30.22 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002969/54.95, allocations: 0.9349 MB / 8.698 GB, free: 29.28 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/54.95, allocations: 84.44 kB / 8.698 GB, free: 29.23 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02261/54.98, allocations: 1.364 MB / 8.699 GB, free: 29.1 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=369): time 6.627e-05/54.98, allocations: 3.812 kB / 8.699 GB, free: 29.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=375): time 0.1153/55.09, allocations: 19.32 MB / 8.718 GB, free: 22.55 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/55.09, allocations: 97.11 kB / 8.718 GB, free: 22.45 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03821/55.13, allocations: 8.595 MB / 8.726 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002565/55.13, allocations: 105.7 kB / 8.727 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01012/55.14, allocations: 3.64 MB / 8.73 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.006351/55.15, allocations: 1.322 MB / 8.731 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002413/55.15, allocations: 77.59 kB / 8.731 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.001155/55.15, allocations: 495 kB / 8.732 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01856/55.17, allocations: 3.378 MB / 8.735 GB, free: 7.504 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01856/55.19, allocations: 4.625 MB / 8.74 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02112/55.21, allocations: 4.415 MB / 8.744 GB, free: 15.75 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-05/55.21, allocations: 4 kB / 8.744 GB, free: 15.75 MB / 0.9949 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.04859/55.26, allocations: 8.574 MB / 8.752 GB, free: 8.398 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.001131/55.26, allocations: 0.6519 MB / 8.753 GB, free: 7.535 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.813e-05/55.26, allocations: 19.69 kB / 8.753 GB, free: 7.52 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/55.27, allocations: 225.7 kB / 8.753 GB, free: 7.336 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01583/55.28, allocations: 1.11 MB / 8.754 GB, free: 6.465 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008253/55.29, allocations: 2.851 MB / 8.757 GB, free: 3.789 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02435/55.31, allocations: 1.162 MB / 8.758 GB, free: 3.078 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00242/55.32, allocations: 166.3 kB / 8.758 GB, free: 2.93 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/55.32, allocations: 4 kB / 8.758 GB, free: 2.926 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04174/55.36, allocations: 8.025 MB / 8.766 GB, free: 12.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/55.36, allocations: 20 kB / 8.766 GB, free: 12.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/55.36, allocations: 222.8 kB / 8.767 GB, free: 12 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01403/55.37, allocations: 1.107 MB / 8.768 GB, free: 11.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007543/55.38, allocations: 2.85 MB / 8.77 GB, free: 8.457 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02268/55.4, allocations: 1.142 MB / 8.772 GB, free: 7.766 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002329/55.41, allocations: 163.2 kB / 8.772 GB, free: 7.621 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (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.02194/55.43, allocations: 5.315 MB / 8.777 GB, free: 3.328 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005162/55.43, allocations: 0.6213 MB / 8.777 GB, free: 2.699 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.278/56.71, allocations: 8.463 MB / 8.786 GB, free: 90.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.242e-05/56.71, allocations: 41.47 kB / 8.786 GB, free: 90.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/56.71, allocations: 0 / 8.786 GB, free: 90.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02305/56.74, allocations: 6.807 MB / 8.792 GB, free: 89.66 MB / 1.01 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 postOpt removeSimpleEquations (simulation): time 0.0628/56.8, allocations: 20.1 MB / 8.812 GB, free: 88.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/56.8, allocations: 3.719 kB / 8.812 GB, free: 88.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0103/56.81, allocations: 1.149 MB / 8.813 GB, free: 88.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009913/56.81, allocations: 202 kB / 8.813 GB, free: 88.47 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001114/56.81, allocations: 126.5 kB / 8.814 GB, free: 88.47 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004541/56.82, allocations: 2.833 MB / 8.816 GB, free: 87.23 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.751e-05/56.82, allocations: 13.44 kB / 8.816 GB, free: 87.23 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04726/56.86, allocations: 12.38 MB / 8.828 GB, free: 86.73 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01097/56.87, allocations: 2.135 MB / 8.83 GB, free: 86.63 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006289/56.88, allocations: 116.6 kB / 8.831 GB, free: 86.63 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01753/56.9, allocations: 0.9544 MB / 8.832 GB, free: 86.63 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001659/56.9, allocations: 237.1 kB / 8.832 GB, free: 86.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008076/56.9, allocations: 134.7 kB / 8.832 GB, free: 86.62 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01772/56.92, allocations: 6.228 MB / 8.838 GB, free: 86.41 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.82e-07/56.92, allocations: 0 / 8.838 GB, free: 86.41 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02985/56.95, allocations: 4.583 MB / 8.842 GB, free: 86.41 MB / 1.01 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 () * Number of clocked 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.009528/56.96, allocations: 4.352 MB / 8.847 GB, free: 84.59 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.03259/56.99, allocations: 11.76 MB / 8.858 GB, free: 84.27 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.724e-05/56.99, allocations: 9.375 kB / 8.858 GB, free: 84.27 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01691/57.01, allocations: 3.644 MB / 8.862 GB, free: 84.14 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04348/57.05, allocations: 4.941 MB / 8.867 GB, free: 84.09 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06611/57.12, allocations: 25.7 MB / 8.892 GB, free: 77.05 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01859/57.14, allocations: 7 MB / 8.898 GB, free: 76.14 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03192/57.17, allocations: 6.822 MB / 8.905 GB, free: 76.09 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00503/57.17, allocations: 488.5 kB / 8.906 GB, free: 76.08 MB / 1.01 GB Notification: Performance of SimCode: time 3.737e-06/57.17, allocations: 0 / 8.906 GB, free: 76.08 MB / 1.01 GB Notification: Performance of Templates: time 0.5578/57.73, allocations: 212.2 MB / 9.113 GB, free: 12.02 MB / 1.026 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)