Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.747/1.747, allocations: 288.2 MB / 303.2 MB, free: 8.242 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.001427/0.001427, allocations: 181.6 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009196/0.0009195, allocations: 94.86 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004032, allocations: 13.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.257, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.8364/1.093, allocations: 172.2 MB / 1.148 GB, free: 11.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02089/1.114, allocations: 11.87 MB / 1.159 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/1.117, allocations: 45.66 kB / 1.159 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003458/1.121, allocations: 0.7094 MB / 1.16 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008935/1.13, allocations: 1.96 MB / 1.162 GB, free: 248 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007155/1.137, allocations: 1.731 MB / 1.164 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005822/1.143, allocations: 1.906 MB / 1.165 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/1.146, allocations: 0.8963 MB / 1.166 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005551/1.151, allocations: 1.387 MB / 1.168 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/1.154, allocations: 0.7197 MB / 1.168 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005715/1.154, allocations: 53.88 kB / 1.168 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007765/1.162, allocations: 2.036 MB / 1.17 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001127/1.163, allocations: 318.2 kB / 1.171 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/1.165, allocations: 310.3 kB / 1.171 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006008/1.171, allocations: 2.029 MB / 1.173 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.171, allocations: 0 / 1.173 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.855e-06/1.171, allocations: 0 / 1.173 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001083/1.171, allocations: 0 / 1.173 GB, free: 9.277 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.006042/1.177, allocations: 1.808 MB / 1.175 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/1.177, allocations: 14.52 kB / 1.175 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004925/1.178, allocations: 134.3 kB / 1.175 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003647/1.181, allocations: 0.5622 MB / 1.175 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/1.185, allocations: 1.023 MB / 1.176 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008158/1.186, allocations: 216.9 kB / 1.177 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005318/1.186, allocations: 95.06 kB / 1.177 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004348/1.191, allocations: 1.264 MB / 1.178 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/1.191, allocations: 0 / 1.178 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/1.191, allocations: 42.22 kB / 1.178 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.846e-05/1.191, allocations: 40.8 kB / 1.178 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003506/1.194, allocations: 1.319 MB / 1.179 GB, free: 5.219 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.008998/1.203, allocations: 4.921 MB / 1.184 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/1.206, allocations: 1.058 MB / 1.185 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/1.207, allocations: 0.6991 MB / 1.186 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/1.209, allocations: 0.7397 MB / 1.187 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 4.638e-06/1.209, allocations: 0 / 1.187 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.005217/1.214, allocations: 1.943 MB / 1.189 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/1.214, allocations: 145.5 kB / 1.189 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/1.216, allocations: 1.034 MB / 1.19 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001852/1.216, allocations: 43.42 kB / 1.19 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005949/1.217, allocations: 0.5302 MB / 1.19 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/1.217, allocations: 272 kB / 1.19 GB, free: 13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/1.218, allocations: 20.91 kB / 1.19 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002008/1.218, allocations: 342.1 kB / 1.191 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/1.219, allocations: 0.5132 MB / 1.191 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/1.221, allocations: 0.7044 MB / 1.192 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/1.222, allocations: 0.608 MB / 1.193 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.222, allocations: 0 / 1.193 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003797/1.226, allocations: 1.494 MB / 1.194 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005961/1.227, allocations: 1.126 MB / 1.195 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/1.227, allocations: 3.188 kB / 1.195 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.45e-05/1.227, allocations: 11.84 kB / 1.195 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.228, allocations: 267.4 kB / 1.195 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/1.228, allocations: 7.5 kB / 1.195 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/1.23, allocations: 217.4 kB / 1.196 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.23, allocations: 50.95 kB / 1.196 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/1.23, allocations: 5.625 kB / 1.196 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003111/1.233, allocations: 1.414 MB / 1.197 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/1.233, allocations: 4 kB / 1.197 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/1.233, allocations: 4 kB / 1.197 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.234, allocations: 267.7 kB / 1.197 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.234, allocations: 8 kB / 1.197 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.236, allocations: 199.9 kB / 1.198 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/1.236, allocations: 43.97 kB / 1.198 GB, free: 8.207 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.0009096/1.237, allocations: 465.1 kB / 1.198 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/1.237, allocations: 134.4 kB / 1.198 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/1.241, allocations: 1.511 MB / 1.2 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/1.241, allocations: 8 kB / 1.2 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.241, allocations: 4 kB / 1.2 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/1.241, allocations: 3.984 kB / 1.2 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/1.247, allocations: 3.049 MB / 1.203 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/1.247, allocations: 0 / 1.203 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009598/1.248, allocations: 207.9 kB / 1.203 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.586e-05/1.248, allocations: 11.98 kB / 1.203 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.639e-05/1.248, allocations: 35.94 kB / 1.203 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/1.248, allocations: 12 kB / 1.203 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.248, allocations: 4 kB / 1.203 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005047/1.253, allocations: 2.463 MB / 1.205 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.254, allocations: 355.1 kB / 1.206 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/1.254, allocations: 24 kB / 1.206 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.255, allocations: 128 kB / 1.206 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/1.255, allocations: 64.38 kB / 1.206 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.546e-05/1.255, allocations: 47.97 kB / 1.206 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001121/1.257, allocations: 0.7049 MB / 1.207 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/1.257, allocations: 0 / 1.207 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002673/1.259, allocations: 0.7916 MB / 1.207 GB, free: 13.91 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.007069/1.266, allocations: 4.28 MB / 1.212 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00511/1.272, allocations: 2.259 MB / 1.214 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.715e-05/1.272, allocations: 8.109 kB / 1.214 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/1.273, allocations: 0.7797 MB / 1.214 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/1.276, allocations: 0.5051 MB / 1.215 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009456/1.286, allocations: 5.217 MB / 1.22 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009035/1.286, allocations: 1.188 MB / 1.221 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002027/1.289, allocations: 364.5 kB / 1.222 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008286/1.289, allocations: 499.2 kB / 1.222 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of SimCode: time 1.523e-06/1.289, allocations: 0 / 1.222 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06862/1.358, allocations: 35.43 MB / 1.257 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/1.358, allocations: 253.6 kB / 1.257 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/4.701, allocations: 0 / 1.257 GB, free: 11.07 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)