Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001595/0.001596, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003931, allocations: 15.94 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8047/0.8051, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.2066/1.012, allocations: 172.2 MB / 1.122 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01799/1.03, allocations: 11.96 MB / 1.133 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/1.033, allocations: 47.69 kB / 1.134 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002397/1.035, allocations: 0.6998 MB / 1.134 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006859/1.042, allocations: 2.027 MB / 1.136 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005448/1.048, allocations: 1.723 MB / 1.138 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00416/1.052, allocations: 1.924 MB / 1.14 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/1.053, allocations: 0.8985 MB / 1.141 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003683/1.057, allocations: 1.382 MB / 1.142 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/1.059, allocations: 0.7236 MB / 1.143 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/1.059, allocations: 56 kB / 1.143 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004606/1.064, allocations: 2.04 MB / 1.145 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003736/1.064, allocations: 322.9 kB / 1.145 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004746/1.064, allocations: 301 kB / 1.145 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003222/1.068, allocations: 2.031 MB / 1.147 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/1.068, allocations: 0 / 1.147 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.194e-06/1.068, allocations: 0 / 1.147 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.908e-05/1.068, allocations: 3.938 kB / 1.147 GB, free: 9.359 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003861/1.072, allocations: 1.81 MB / 1.149 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.072, allocations: 8.031 kB / 1.149 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/1.072, allocations: 143.6 kB / 1.149 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/1.075, allocations: 0.5602 MB / 1.15 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/1.077, allocations: 1.021 MB / 1.151 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006325/1.077, allocations: 213.8 kB / 1.151 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/1.077, allocations: 92 kB / 1.151 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/1.08, allocations: 1.268 MB / 1.152 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/1.08, allocations: 4 kB / 1.152 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.08, allocations: 35.95 kB / 1.152 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.894e-05/1.08, allocations: 45.98 kB / 1.152 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/1.083, allocations: 1.319 MB / 1.154 GB, free: 2.699 MB / 0.9044 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.008022/1.091, allocations: 4.912 MB / 1.158 GB, free: 13.47 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/1.094, allocations: 1.068 MB / 1.159 GB, free: 12.39 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/1.095, allocations: 0.6916 MB / 1.16 GB, free: 11.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/1.096, allocations: 0.739 MB / 1.161 GB, free: 10.8 MB / 0.92 GB Notification: Performance of pre-optimization done (n=85): time 2.615e-06/1.096, allocations: 0 / 1.161 GB, free: 10.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=85): time 0.004966/1.101, allocations: 1.949 MB / 1.163 GB, free: 8.793 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.102, allocations: 145.2 kB / 1.163 GB, free: 8.621 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/1.103, allocations: 1.038 MB / 1.164 GB, free: 7.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/1.103, allocations: 45.7 kB / 1.164 GB, free: 7.52 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004944/1.104, allocations: 0.5281 MB / 1.164 GB, free: 6.984 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/1.104, allocations: 272 kB / 1.165 GB, free: 6.715 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/1.104, allocations: 19.94 kB / 1.165 GB, free: 6.695 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.104, allocations: 341.9 kB / 1.165 GB, free: 6.355 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/1.106, allocations: 0.5055 MB / 1.166 GB, free: 5.848 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/1.107, allocations: 0.6942 MB / 1.166 GB, free: 5.094 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/1.108, allocations: 0.5997 MB / 1.167 GB, free: 4.484 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.108, allocations: 3.953 kB / 1.167 GB, free: 4.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003317/1.112, allocations: 1.476 MB / 1.168 GB, free: 2.984 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004925/1.112, allocations: 1.038 MB / 1.169 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.112, allocations: 4 kB / 1.169 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/1.112, allocations: 8 kB / 1.169 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.113, allocations: 251.7 kB / 1.17 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/1.113, allocations: 7.938 kB / 1.17 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.115, allocations: 219.2 kB / 1.17 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/1.115, allocations: 51.97 kB / 1.17 GB, free: 1.336 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/1.115, allocations: 4 kB / 1.17 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002935/1.118, allocations: 1.401 MB / 1.171 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.118, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/1.118, allocations: 4 kB / 1.171 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.119, allocations: 255.7 kB / 1.171 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/1.119, allocations: 11.98 kB / 1.171 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/1.121, allocations: 199 kB / 1.172 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/1.121, allocations: 47.97 kB / 1.172 GB, free: 15.4 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007485/1.121, allocations: 460.3 kB / 1.172 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/1.122, allocations: 130.4 kB / 1.172 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/1.125, allocations: 1.504 MB / 1.174 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.125, allocations: 11.98 kB / 1.174 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.125, allocations: 0 / 1.174 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/1.125, allocations: 11.94 kB / 1.174 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005358/1.13, allocations: 3.045 MB / 1.177 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.13, allocations: 4.406 kB / 1.177 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009427/1.131, allocations: 203.7 kB / 1.177 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.549e-05/1.131, allocations: 8 kB / 1.177 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/1.131, allocations: 27.98 kB / 1.177 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.544e-05/1.131, allocations: 11.94 kB / 1.177 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/1.131, allocations: 4 kB / 1.177 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004526/1.136, allocations: 2.467 MB / 1.179 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000705/1.137, allocations: 359.1 kB / 1.18 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/1.137, allocations: 24 kB / 1.18 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.138, allocations: 131.9 kB / 1.18 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.138, allocations: 68.36 kB / 1.18 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.493e-05/1.138, allocations: 39.98 kB / 1.18 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001041/1.139, allocations: 0.7049 MB / 1.181 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/1.139, allocations: 0 / 1.181 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002142/1.142, allocations: 0.7956 MB / 1.181 GB, free: 5.113 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006622/1.148, allocations: 4.294 MB / 1.186 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00489/1.153, allocations: 2.247 MB / 1.188 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.153, allocations: 0 / 1.188 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/1.155, allocations: 0.7918 MB / 1.189 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/1.157, allocations: 0.5152 MB / 1.189 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006929/1.164, allocations: 5.053 MB / 1.194 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008034/1.165, allocations: 1.18 MB / 1.195 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001686/1.167, allocations: 359 kB / 1.196 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/1.167, allocations: 499.2 kB / 1.196 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of SimCode: time 1.152e-06/1.167, allocations: 0 / 1.196 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06238/1.23, allocations: 35.65 MB / 1.231 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/1.23, allocations: 248.5 kB / 1.231 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.975, allocations: 0 / 1.231 GB, free: 2.41 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)