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.406/2.406, allocations: 284.7 MB / 297.2 MB, free: 6.387 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.001565/0.001565, allocations: 180.8 kB / 365.6 MB, free: 2.633 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.968/1.968, allocations: 205.1 MB / 0.624 GB, free: 8.234 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.001041/0.001041, allocations: 99.25 kB / 0.7371 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.599e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8034, allocations: 115.2 MB / 0.9699 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.048/7.851, allocations: 2.354 GB / 3.324 GB, free: 101.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/7.851, allocations: 87.7 kB / 3.324 GB, free: 101.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.108/12.96, allocations: 0.9145 GB / 4.239 GB, free: 148.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.994e-06/12.96, allocations: 3.75 kB / 4.239 GB, free: 148.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002224/12.96, allocations: 35.41 kB / 4.239 GB, free: 148.1 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.00827/12.97, allocations: 1.916 MB / 4.24 GB, free: 147.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/12.97, allocations: 6.781 kB / 4.24 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000513/12.97, allocations: 142 kB / 4.241 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005354/12.97, allocations: 0.5259 MB / 4.241 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/12.98, allocations: 1.211 MB / 4.242 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001226/12.98, allocations: 202.7 kB / 4.242 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005163/12.98, allocations: 99.25 kB / 4.243 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003386/12.98, allocations: 1.148 MB / 4.244 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/12.98, allocations: 3.656 kB / 4.244 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/12.98, allocations: 35.59 kB / 4.244 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.831e-05/12.98, allocations: 39.28 kB / 4.244 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/12.99, allocations: 1.053 MB / 4.245 GB, free: 146.7 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.01497/13, allocations: 5.026 MB / 4.25 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/13.01, allocations: 0.777 MB / 4.25 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/13.01, allocations: 469.9 kB / 4.251 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/13.01, allocations: 0.8433 MB / 4.252 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/13.01, allocations: 0.5842 MB / 4.252 GB, free: 143.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=85): time 4.95e-06/13.01, allocations: 0 / 4.252 GB, free: 143.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.003541/13.01, allocations: 1.085 MB / 4.253 GB, free: 143.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/13.01, allocations: 118.1 kB / 4.253 GB, free: 143.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/13.02, allocations: 0.89 MB / 4.254 GB, free: 143.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000341/13.02, allocations: 44.98 kB / 4.254 GB, free: 143.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005744/13.02, allocations: 0.5267 MB / 4.255 GB, free: 143.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003816/13.02, allocations: 283 kB / 4.255 GB, free: 142.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/13.02, allocations: 18.56 kB / 4.255 GB, free: 142.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001015/13.02, allocations: 344.1 kB / 4.256 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/13.02, allocations: 397.6 kB / 4.256 GB, free: 142.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/13.02, allocations: 0.6074 MB / 4.256 GB, free: 142.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/13.02, allocations: 0.4902 MB / 4.257 GB, free: 142.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/13.02, allocations: 2.875 kB / 4.257 GB, free: 142.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003542/13.02, allocations: 1.265 MB / 4.258 GB, free: 142.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003426/13.02, allocations: 1.12 MB / 4.259 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/13.02, allocations: 0 / 4.259 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.638e-05/13.02, allocations: 7 kB / 4.259 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/13.03, allocations: 268.4 kB / 4.26 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.008e-05/13.03, allocations: 14.31 kB / 4.26 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/13.03, allocations: 215.2 kB / 4.26 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/13.03, allocations: 56.11 kB / 4.26 GB, free: 141 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/13.03, allocations: 5.656 kB / 4.26 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00322/13.03, allocations: 1.181 MB / 4.261 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/13.03, allocations: 3.531 kB / 4.261 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/13.03, allocations: 9.141 kB / 4.261 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/13.04, allocations: 269 kB / 4.261 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/13.04, allocations: 15.53 kB / 4.261 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/13.04, allocations: 203 kB / 4.261 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/13.04, allocations: 53.31 kB / 4.262 GB, free: 140.8 MB / 0.948 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 () * 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.0004688/13.04, allocations: 230.3 kB / 4.262 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004356/13.04, allocations: 129.8 kB / 4.262 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/13.04, allocations: 1.293 MB / 4.263 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/13.04, allocations: 14 kB / 4.263 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/13.04, allocations: 0 / 4.263 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/13.04, allocations: 6.578 kB / 4.263 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006921/13.05, allocations: 2.756 MB / 4.266 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/13.05, allocations: 3.938 kB / 4.266 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/13.05, allocations: 208.7 kB / 4.266 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.695e-05/13.05, allocations: 6.312 kB / 4.266 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/13.05, allocations: 30.06 kB / 4.266 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/13.05, allocations: 10.06 kB / 4.266 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/13.05, allocations: 7.328 kB / 4.266 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004746/13.06, allocations: 2.129 MB / 4.268 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/13.06, allocations: 359.4 kB / 4.268 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/13.06, allocations: 29.39 kB / 4.269 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002437/13.06, allocations: 135.4 kB / 4.269 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/13.06, allocations: 64.34 kB / 4.269 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/13.06, allocations: 52.44 kB / 4.269 GB, free: 139.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001438/13.06, allocations: 0.6862 MB / 4.269 GB, free: 139 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-07/13.06, allocations: 0 / 4.269 GB, free: 139 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004739/13.07, allocations: 1.005 MB / 4.27 GB, free: 138.9 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.009917/13.08, allocations: 5.622 MB / 4.276 GB, free: 136.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004661/13.08, allocations: 1.906 MB / 4.278 GB, free: 136.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/13.08, allocations: 0 / 4.278 GB, free: 136.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/13.09, allocations: 0.6614 MB / 4.278 GB, free: 136 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004633/13.09, allocations: 0.5062 MB / 4.279 GB, free: 135.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007559/13.1, allocations: 2.159 MB / 4.281 GB, free: 135.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007841/13.1, allocations: 1.185 MB / 4.282 GB, free: 134.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003541/13.1, allocations: 427.1 kB / 4.283 GB, free: 134.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/13.1, allocations: 476 kB / 4.283 GB, free: 134.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/13.1, allocations: 3.125 kB / 4.283 GB, free: 134.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1617/13.26, allocations: 69.14 MB / 4.351 GB, free: 130.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/13.26, allocations: 218.8 kB / 4.351 GB, free: 129.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.871/19.14, allocations: 0 / 4.351 GB, free: 129.9 MB / 0.948 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)