Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 252 MB / 267.3 MB, free: 10.84 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.001059/0.001059, allocations: 181.3 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008175/0.0008176, allocations: 88.55 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004131, allocations: 10.41 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2651, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.8652/1.13, allocations: 206.2 MB / 1.102 GB, free: 1.355 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02144/1.152, allocations: 13.66 MB / 1.116 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003787/1.156, allocations: 52.53 kB / 1.116 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003189/1.159, allocations: 0.7154 MB / 1.116 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/1.17, allocations: 2.325 MB / 1.119 GB, free: 0.832 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01307/1.183, allocations: 3.074 MB / 1.122 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007908/1.191, allocations: 4.614 MB / 1.126 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/1.193, allocations: 1.107 MB / 1.127 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005128/1.199, allocations: 1.643 MB / 1.129 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003726/1.202, allocations: 1.138 MB / 1.13 GB, free: 492 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005786/1.203, allocations: 60.06 kB / 1.13 GB, free: 492 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008361/1.211, allocations: 3.303 MB / 1.133 GB, free: 452 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001062/1.212, allocations: 378.3 kB / 1.134 GB, free: 452 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001942/1.214, allocations: 0.827 MB / 1.134 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/1.225, allocations: 3.411 MB / 1.138 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.225, allocations: 0 / 1.138 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.926e-06/1.225, allocations: 0 / 1.138 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.978e-05/1.225, allocations: 2.875 kB / 1.138 GB, free: 15.79 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.006823/1.232, allocations: 2.07 MB / 1.14 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.232, allocations: 8.25 kB / 1.14 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003258/1.233, allocations: 154.2 kB / 1.14 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/1.236, allocations: 0.5845 MB / 1.14 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/1.239, allocations: 1.259 MB / 1.142 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006797/1.24, allocations: 213.5 kB / 1.142 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/1.24, allocations: 121 kB / 1.142 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/1.243, allocations: 1.378 MB / 1.143 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.243, allocations: 2.531 kB / 1.143 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/1.243, allocations: 40.08 kB / 1.143 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.927e-05/1.243, allocations: 41.31 kB / 1.143 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/1.247, allocations: 1.39 MB / 1.145 GB, free: 12.72 MB / 0.7136 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.01103/1.258, allocations: 5.339 MB / 1.15 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/1.261, allocations: 1.197 MB / 1.151 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/1.262, allocations: 0.5656 MB / 1.152 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/1.263, allocations: 0.7791 MB / 1.152 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/1.265, allocations: 0.6373 MB / 1.153 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 5.09e-06/1.265, allocations: 3.938 kB / 1.153 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.004858/1.27, allocations: 1.673 MB / 1.155 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.27, allocations: 141.8 kB / 1.155 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002912/1.273, allocations: 1.342 MB / 1.156 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000208/1.273, allocations: 53.91 kB / 1.156 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007964/1.274, allocations: 0.6512 MB / 1.157 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/1.274, allocations: 285.2 kB / 1.157 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/1.274, allocations: 19.12 kB / 1.157 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.275, allocations: 357.4 kB / 1.158 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/1.276, allocations: 0.5426 MB / 1.158 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/1.278, allocations: 0.8305 MB / 1.159 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/1.281, allocations: 1.265 MB / 1.16 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/1.281, allocations: 3 kB / 1.16 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004411/1.285, allocations: 1.566 MB / 1.162 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002717/1.286, allocations: 270.8 kB / 1.162 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/1.286, allocations: 6.219 kB / 1.162 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.683e-05/1.286, allocations: 9.844 kB / 1.162 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/1.288, allocations: 354.2 kB / 1.162 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008504/1.289, allocations: 1.201 MB / 1.163 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/1.291, allocations: 228 kB / 1.164 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/1.291, allocations: 61.53 kB / 1.164 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/1.291, allocations: 10.03 kB / 1.164 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003478/1.295, allocations: 1.404 MB / 1.165 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/1.295, allocations: 6.5 kB / 1.165 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.295, allocations: 10.14 kB / 1.165 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/1.296, allocations: 325.8 kB / 1.165 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.264e-05/1.296, allocations: 14.89 kB / 1.165 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/1.298, allocations: 216.4 kB / 1.166 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/1.298, allocations: 56.5 kB / 1.166 GB, free: 0.6562 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009983/1.299, allocations: 416.8 kB / 1.166 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005487/1.3, allocations: 165.3 kB / 1.166 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/1.304, allocations: 1.376 MB / 1.168 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/1.304, allocations: 12 kB / 1.168 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/1.304, allocations: 2.531 kB / 1.168 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/1.304, allocations: 3.984 kB / 1.168 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006636/1.31, allocations: 2.905 MB / 1.17 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.31, allocations: 4 kB / 1.17 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/1.312, allocations: 246 kB / 1.171 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/1.312, allocations: 8.094 kB / 1.171 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/1.312, allocations: 39.95 kB / 1.171 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000718/1.313, allocations: 1.193 MB / 1.172 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.313, allocations: 4 kB / 1.172 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005226/1.318, allocations: 2.149 MB / 1.174 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.319, allocations: 370.7 kB / 1.174 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005121/1.32, allocations: 24 kB / 1.174 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/1.321, allocations: 135.8 kB / 1.174 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/1.321, allocations: 71.09 kB / 1.175 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/1.322, allocations: 42.59 kB / 1.175 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001994/1.324, allocations: 0.9025 MB / 1.175 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.685e-06/1.324, allocations: 0 / 1.175 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003715/1.327, allocations: 0.8308 MB / 1.176 GB, free: 6.312 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007361/1.335, allocations: 3.079 MB / 1.179 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006137/1.341, allocations: 2.239 MB / 1.181 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.341, allocations: 4.812 kB / 1.181 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/1.343, allocations: 0.6674 MB / 1.182 GB, free: 344 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00532/1.348, allocations: 0.7006 MB / 1.183 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02977/1.378, allocations: 13.06 MB / 1.196 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.379, allocations: 1.243 MB / 1.197 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002561/1.382, allocations: 411.5 kB / 1.197 GB, free: 404 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/1.383, allocations: 0.5903 MB / 1.198 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of SimCode: time 1.142e-06/1.383, allocations: 3.938 kB / 1.198 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08613/1.469, allocations: 42.26 MB / 1.239 GB, free: 6.09 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/1.469, allocations: 312.5 kB / 1.239 GB, free: 5.707 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.908/5.377, allocations: 0 / 1.239 GB, free: 5.707 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)