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.621/1.621, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001009/0.001009, allocations: 188.8 kB / 361.4 MB, free: 6.828 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.444/1.444, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008574/0.0008574, allocations: 103.1 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.612e-05, allocations: 15.98 kB / 0.8518 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7037/0.7037, allocations: 115.3 MB / 0.9645 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.2/6.904, allocations: 2.353 GB / 3.318 GB, free: 123.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/6.904, allocations: 88.7 kB / 3.318 GB, free: 123.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.179/11.08, allocations: 0.9059 GB / 4.224 GB, free: 143 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.206e-06/11.08, allocations: 0 / 4.224 GB, free: 143 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001736/11.08, allocations: 42.67 kB / 4.224 GB, free: 143 MB / 0.948 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.007705/11.09, allocations: 1.911 MB / 4.226 GB, free: 142.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/11.09, allocations: 9.578 kB / 4.226 GB, free: 142.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/11.09, allocations: 0.5208 MB / 4.226 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/11.1, allocations: 1.207 MB / 4.227 GB, free: 142 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007065/11.1, allocations: 171.3 kB / 4.228 GB, free: 142 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/11.1, allocations: 62.31 kB / 4.228 GB, free: 142 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002107/11.1, allocations: 0.95 MB / 4.229 GB, free: 142 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/11.1, allocations: 1.021 MB / 4.23 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/11.1, allocations: 0 / 4.23 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.724e-05/11.1, allocations: 3.391 kB / 4.23 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/11.1, allocations: 41.97 kB / 4.23 GB, free: 141.9 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.009485/11.11, allocations: 4.899 MB / 4.234 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/11.11, allocations: 0.8267 MB / 4.235 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007017/11.11, allocations: 447.1 kB / 4.236 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/11.12, allocations: 0.8437 MB / 4.236 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009489/11.12, allocations: 0.6186 MB / 4.237 GB, free: 138.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=85): time 3.546e-06/11.12, allocations: 0 / 4.237 GB, free: 138.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.003166/11.12, allocations: 1.124 MB / 4.238 GB, free: 138.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/11.12, allocations: 140.3 kB / 4.238 GB, free: 138.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/11.12, allocations: 0.7437 MB / 4.239 GB, free: 138.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/11.12, allocations: 29.08 kB / 4.239 GB, free: 138.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/11.12, allocations: 0.529 MB / 4.24 GB, free: 138.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/11.12, allocations: 270.9 kB / 4.24 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/11.12, allocations: 1.5 kB / 4.24 GB, free: 138.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001088/11.12, allocations: 341.6 kB / 4.24 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/11.12, allocations: 386.3 kB / 4.241 GB, free: 137.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008395/11.12, allocations: 0.596 MB / 4.241 GB, free: 137.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/11.13, allocations: 0.5416 MB / 4.242 GB, free: 137.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/11.13, allocations: 0 / 4.242 GB, free: 137.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00322/11.13, allocations: 1.297 MB / 4.243 GB, free: 137.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003331/11.13, allocations: 1.197 MB / 4.244 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/11.13, allocations: 2.656 kB / 4.244 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/11.13, allocations: 7.312 kB / 4.244 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/11.13, allocations: 269.5 kB / 4.244 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/11.13, allocations: 8.906 kB / 4.244 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/11.13, allocations: 184.4 kB / 4.245 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/11.13, allocations: 52.55 kB / 4.245 GB, free: 136.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/11.13, allocations: 3.719 kB / 4.245 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003239/11.14, allocations: 1.18 MB / 4.246 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/11.14, allocations: 3.312 kB / 4.246 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/11.14, allocations: 10.08 kB / 4.246 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/11.14, allocations: 269.9 kB / 4.246 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.848e-05/11.14, allocations: 13.47 kB / 4.246 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/11.14, allocations: 181.2 kB / 4.246 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/11.14, allocations: 50.44 kB / 4.246 GB, free: 136.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * 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.0005012/11.14, allocations: 196 kB / 4.246 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00338/11.14, allocations: 1.127 MB / 4.248 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000539/11.14, allocations: 125.9 kB / 4.248 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003469/11.15, allocations: 1.275 MB / 4.249 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/11.15, allocations: 15.19 kB / 4.249 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/11.15, allocations: 1.406 kB / 4.249 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/11.15, allocations: 3.844 kB / 4.249 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006382/11.15, allocations: 2.707 MB / 4.252 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/11.15, allocations: 3.594 kB / 4.252 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/11.16, allocations: 207 kB / 4.252 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.127e-05/11.16, allocations: 6.812 kB / 4.252 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/11.16, allocations: 27.34 kB / 4.252 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-05/11.16, allocations: 15.36 kB / 4.252 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/11.16, allocations: 6.812 kB / 4.252 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004105/11.16, allocations: 2.118 MB / 4.254 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009421/11.16, allocations: 351.1 kB / 4.254 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004264/11.16, allocations: 17.69 kB / 4.254 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/11.16, allocations: 124 kB / 4.254 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/11.16, allocations: 66.91 kB / 4.254 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/11.16, allocations: 49.06 kB / 4.254 GB, free: 134.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001117/11.16, allocations: 0.5599 MB / 4.255 GB, free: 134.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.1e-07/11.16, allocations: 0 / 4.255 GB, free: 134.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00408/11.17, allocations: 0.9326 MB / 4.256 GB, free: 134.3 MB / 0.948 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) * 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.00904/11.18, allocations: 5.833 MB / 4.262 GB, free: 131.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00326/11.18, allocations: 1.845 MB / 4.263 GB, free: 131.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/11.18, allocations: 0 / 4.263 GB, free: 131.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008763/11.18, allocations: 0.6412 MB / 4.264 GB, free: 131.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/11.18, allocations: 432.6 kB / 4.264 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/11.19, allocations: 2.072 MB / 4.266 GB, free: 130.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009836/11.19, allocations: 1.185 MB / 4.268 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002468/11.19, allocations: 412.2 kB / 4.268 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/11.2, allocations: 477 kB / 4.269 GB, free: 130.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/11.2, allocations: 0 / 4.269 GB, free: 130.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/11.3, allocations: 47.04 MB / 4.314 GB, free: 128.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/11.3, allocations: 205 kB / 4.315 GB, free: 128.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.457/15.75, allocations: 3.562 kB / 4.315 GB, free: 128.4 MB / 0.948 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)