Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.605/2.605, allocations: 287.3 MB / 302.3 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 187.4 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 92.12 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004732, allocations: 14.44 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2155, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.9448/1.16, allocations: 172.2 MB / 1.146 GB, free: 12.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02676/1.187, allocations: 11.9 MB / 1.158 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/1.19, allocations: 41.59 kB / 1.158 GB, free: 3.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0035/1.193, allocations: 0.7103 MB / 1.159 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009306/1.202, allocations: 1.956 MB / 1.161 GB, free: 1.066 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008386/1.211, allocations: 1.739 MB / 1.162 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005668/1.217, allocations: 1.912 MB / 1.164 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/1.219, allocations: 0.8891 MB / 1.165 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005286/1.224, allocations: 1.386 MB / 1.167 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/1.227, allocations: 0.7248 MB / 1.167 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004279/1.227, allocations: 54.28 kB / 1.167 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00729/1.235, allocations: 2.038 MB / 1.169 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0009642/1.236, allocations: 314.2 kB / 1.17 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0009092/1.236, allocations: 309.6 kB / 1.17 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005735/1.242, allocations: 2.029 MB / 1.172 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/1.242, allocations: 4 kB / 1.172 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.786e-06/1.242, allocations: 0 / 1.172 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.259e-05/1.242, allocations: 0 / 1.172 GB, free: 10.09 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.006639/1.249, allocations: 1.803 MB / 1.174 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.249, allocations: 7.438 kB / 1.174 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004875/1.25, allocations: 139.4 kB / 1.174 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005421/1.255, allocations: 0.5667 MB / 1.174 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/1.259, allocations: 1.027 MB / 1.175 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001231/1.26, allocations: 205.9 kB / 1.176 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004018/1.26, allocations: 99.41 kB / 1.176 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004704/1.265, allocations: 1.267 MB / 1.177 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/1.265, allocations: 2.469 kB / 1.177 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/1.265, allocations: 36.38 kB / 1.177 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.001e-05/1.265, allocations: 39.52 kB / 1.177 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00595/1.271, allocations: 1.326 MB / 1.178 GB, free: 6.035 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.0141/1.286, allocations: 4.916 MB / 1.183 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005035/1.291, allocations: 1.071 MB / 1.184 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001676/1.292, allocations: 0.6899 MB / 1.185 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002789/1.295, allocations: 0.7319 MB / 1.185 GB, free: 344 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 4.268e-06/1.295, allocations: 0 / 1.185 GB, free: 344 kB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.008011/1.303, allocations: 1.953 MB / 1.187 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.303, allocations: 147.5 kB / 1.187 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/1.306, allocations: 1.029 MB / 1.188 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002897/1.306, allocations: 45.55 kB / 1.189 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006966/1.307, allocations: 0.5307 MB / 1.189 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004319/1.307, allocations: 269.3 kB / 1.189 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/1.307, allocations: 16.97 kB / 1.189 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.307, allocations: 350.3 kB / 1.19 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/1.31, allocations: 0.5138 MB / 1.19 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002658/1.313, allocations: 0.7042 MB / 1.191 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/1.315, allocations: 0.6081 MB / 1.191 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.315, allocations: 0 / 1.191 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006122/1.321, allocations: 1.494 MB / 1.193 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006199/1.322, allocations: 1.12 MB / 1.194 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.322, allocations: 6.875 kB / 1.194 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/1.322, allocations: 7.25 kB / 1.194 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/1.325, allocations: 265.4 kB / 1.194 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/1.325, allocations: 7.188 kB / 1.194 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/1.327, allocations: 223.3 kB / 1.194 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/1.328, allocations: 47.62 kB / 1.195 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/1.328, allocations: 8.906 kB / 1.195 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005915/1.334, allocations: 1.413 MB / 1.196 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.334, allocations: 2.406 kB / 1.196 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.334, allocations: 7.719 kB / 1.196 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/1.336, allocations: 269 kB / 1.196 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/1.336, allocations: 7.984 kB / 1.196 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/1.339, allocations: 192.4 kB / 1.196 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/1.339, allocations: 47.97 kB / 1.196 GB, free: 9.281 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (109): * Single equations (assignments): 107 * 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.001261/1.34, allocations: 468.1 kB / 1.197 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005344/1.341, allocations: 134.4 kB / 1.197 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0064/1.347, allocations: 1.507 MB / 1.198 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/1.348, allocations: 11.98 kB / 1.198 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.348, allocations: 0 / 1.198 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/1.348, allocations: 3.984 kB / 1.198 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/1.358, allocations: 3.049 MB / 1.201 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/1.358, allocations: 4.406 kB / 1.201 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/1.36, allocations: 207.7 kB / 1.202 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.211e-05/1.36, allocations: 7.953 kB / 1.202 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/1.36, allocations: 27.98 kB / 1.202 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-05/1.36, allocations: 19.92 kB / 1.202 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.36, allocations: 4 kB / 1.202 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009336/1.37, allocations: 2.471 MB / 1.204 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/1.371, allocations: 351.1 kB / 1.204 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003801/1.371, allocations: 24 kB / 1.204 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/1.374, allocations: 132 kB / 1.205 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/1.374, allocations: 68.36 kB / 1.205 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/1.374, allocations: 39.97 kB / 1.205 GB, free: 500 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001768/1.376, allocations: 0.6971 MB / 1.205 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.51e-07/1.376, allocations: 0 / 1.205 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00379/1.38, allocations: 0.7995 MB / 1.206 GB, free: 14.98 MB / 0.7448 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.01181/1.392, allocations: 4.274 MB / 1.21 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.009261/1.401, allocations: 2.266 MB / 1.213 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.401, allocations: 0 / 1.213 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002971/1.404, allocations: 0.7879 MB / 1.213 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004862/1.409, allocations: 0.5052 MB / 1.214 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/1.421, allocations: 5.221 MB / 1.219 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/1.423, allocations: 1.188 MB / 1.22 GB, free: 392 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003084/1.426, allocations: 346.2 kB / 1.22 GB, free: 52 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.427, allocations: 0.4888 MB / 1.221 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of SimCode: time 1.363e-06/1.427, allocations: 0 / 1.221 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/1.537, allocations: 35.43 MB / 1.256 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/1.537, allocations: 245.8 kB / 1.256 GB, free: 12.26 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.151/5.688, allocations: 0 / 1.256 GB, free: 12.26 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)