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.413/1.413, allocations: 252 MB / 267 MB, free: 10.96 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.001739/0.001739, allocations: 178.2 kB / 326.6 MB, free: 2.207 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.783/1.783, allocations: 205.4 MB / 0.5777 GB, free: 20.5 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.0008212/0.0008214, allocations: 97.2 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 10.72 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2447, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.8244/1.069, allocations: 192.7 MB / 1.088 GB, free: 3.949 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02094/1.09, allocations: 12.5 MB / 1.101 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003407/1.094, allocations: 51.94 kB / 1.101 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002732/1.096, allocations: 0.5844 MB / 1.101 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007702/1.104, allocations: 1.881 MB / 1.103 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009913/1.114, allocations: 2.766 MB / 1.106 GB, free: 3.398 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006821/1.121, allocations: 4 MB / 1.11 GB, free: 3.383 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002407/1.123, allocations: 0.9986 MB / 1.111 GB, free: 3.254 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004794/1.128, allocations: 1.498 MB / 1.112 GB, free: 3.238 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/1.131, allocations: 1.076 MB / 1.113 GB, free: 3.234 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003929/1.131, allocations: 70.09 kB / 1.113 GB, free: 3.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006664/1.138, allocations: 2.347 MB / 1.116 GB, free: 3.199 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007991/1.139, allocations: 369.4 kB / 1.116 GB, free: 3.199 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001443/1.14, allocations: 350.7 kB / 1.116 GB, free: 19.17 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004901/1.145, allocations: 2.382 MB / 1.119 GB, free: 18.97 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/1.145, allocations: 0 / 1.119 GB, free: 18.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.819e-06/1.145, allocations: 0 / 1.119 GB, free: 18.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.321e-05/1.145, allocations: 0 / 1.119 GB, free: 18.97 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.006285/1.152, allocations: 2.089 MB / 1.121 GB, free: 17.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.152, allocations: 10.56 kB / 1.121 GB, free: 17.82 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003685/1.152, allocations: 154.1 kB / 1.121 GB, free: 17.78 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/1.155, allocations: 0.5803 MB / 1.121 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/1.158, allocations: 1.203 MB / 1.123 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006523/1.159, allocations: 220.7 kB / 1.123 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/1.159, allocations: 108.9 kB / 1.123 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002823/1.162, allocations: 1.376 MB / 1.124 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/1.162, allocations: 0 / 1.124 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/1.162, allocations: 41.23 kB / 1.124 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.477e-05/1.162, allocations: 44.73 kB / 1.124 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/1.166, allocations: 1.392 MB / 1.126 GB, free: 17.07 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.01015/1.176, allocations: 5.326 MB / 1.131 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/1.179, allocations: 1.186 MB / 1.132 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/1.181, allocations: 0.5665 MB / 1.133 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/1.182, allocations: 0.7806 MB / 1.133 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/1.183, allocations: 0.6327 MB / 1.134 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 4.248e-06/1.183, allocations: 0 / 1.134 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.004824/1.188, allocations: 1.67 MB / 1.136 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.188, allocations: 141.4 kB / 1.136 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/1.191, allocations: 1.335 MB / 1.137 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002619/1.191, allocations: 44.39 kB / 1.137 GB, free: 12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000771/1.192, allocations: 0.6569 MB / 1.138 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/1.192, allocations: 279.7 kB / 1.138 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/1.192, allocations: 17.53 kB / 1.138 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.192, allocations: 356.8 kB / 1.138 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/1.194, allocations: 0.5387 MB / 1.139 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/1.195, allocations: 0.8323 MB / 1.14 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/1.197, allocations: 0.6153 MB / 1.14 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/1.197, allocations: 4 kB / 1.14 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00366/1.2, allocations: 1.557 MB / 1.142 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002075/1.201, allocations: 261.3 kB / 1.142 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/1.201, allocations: 6.469 kB / 1.142 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/1.201, allocations: 11.5 kB / 1.142 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/1.202, allocations: 354.6 kB / 1.142 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008059/1.203, allocations: 1.2 MB / 1.144 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/1.205, allocations: 235.4 kB / 1.144 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/1.205, allocations: 52.72 kB / 1.144 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/1.206, allocations: 5.75 kB / 1.144 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003209/1.209, allocations: 1.401 MB / 1.145 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/1.209, allocations: 7.641 kB / 1.145 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.209, allocations: 12.41 kB / 1.145 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/1.21, allocations: 323.7 kB / 1.145 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/1.21, allocations: 13.84 kB / 1.146 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/1.212, allocations: 227.1 kB / 1.146 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.212, allocations: 58 kB / 1.146 GB, free: 8.09 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001109/1.214, allocations: 418.2 kB / 1.146 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006171/1.214, allocations: 153.8 kB / 1.146 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003706/1.218, allocations: 1.383 MB / 1.148 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/1.218, allocations: 15.27 kB / 1.148 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.218, allocations: 0 / 1.148 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/1.218, allocations: 3.984 kB / 1.148 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006957/1.225, allocations: 2.897 MB / 1.151 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/1.225, allocations: 2.344 kB / 1.151 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.226, allocations: 250 kB / 1.151 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.76e-05/1.226, allocations: 12.41 kB / 1.151 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/1.226, allocations: 25.86 kB / 1.151 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007549/1.227, allocations: 1.197 MB / 1.152 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.227, allocations: 4.531 kB / 1.152 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004939/1.232, allocations: 2.133 MB / 1.154 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/1.233, allocations: 370.9 kB / 1.154 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004881/1.234, allocations: 23.55 kB / 1.154 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/1.235, allocations: 126.6 kB / 1.155 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/1.236, allocations: 77.52 kB / 1.155 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.236, allocations: 43.52 kB / 1.155 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001822/1.238, allocations: 0.8858 MB / 1.156 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.11e-07/1.238, allocations: 0 / 1.156 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00348/1.241, allocations: 0.8276 MB / 1.156 GB, free: 3.754 MB / 0.7136 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006857/1.248, allocations: 3.085 MB / 1.159 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005984/1.254, allocations: 2.223 MB / 1.162 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.254, allocations: 192 / 1.162 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/1.256, allocations: 0.6666 MB / 1.162 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00443/1.26, allocations: 0.6996 MB / 1.163 GB, free: 236 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02378/1.284, allocations: 9.607 MB / 1.172 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.285, allocations: 1.239 MB / 1.173 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002666/1.288, allocations: 423.8 kB / 1.174 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009801/1.289, allocations: 0.582 MB / 1.174 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of SimCode: time 1.383e-06/1.289, allocations: 0 / 1.174 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0871/1.376, allocations: 43.65 MB / 1.217 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/1.376, allocations: 286 kB / 1.217 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.468/4.844, allocations: 7.938 kB / 1.217 GB, free: 10.5 MB / 0.7761 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)