Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 249.3 MB / 261.8 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 174.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 90.42 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 6.295e-05/6.306e-05, allocations: 7.984 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2372, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.771/7.008, allocations: 2.471 GB / 3.363 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/7.008, allocations: 90.95 kB / 3.363 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.657/10.66, allocations: 0.8881 GB / 4.251 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.625e-06/10.66, allocations: 2.344 kB / 4.251 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001886/10.67, allocations: 37.77 kB / 4.251 GB, free: 130.1 MB / 0.8855 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.006395/10.67, allocations: 1.906 MB / 4.253 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/10.67, allocations: 9.812 kB / 4.253 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002816/10.67, allocations: 138.6 kB / 4.253 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/10.68, allocations: 0.5193 MB / 4.253 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/10.68, allocations: 1.212 MB / 4.255 GB, free: 129 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006472/10.68, allocations: 213 kB / 4.255 GB, free: 129 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/10.68, allocations: 98.94 kB / 4.255 GB, free: 129 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/10.68, allocations: 1.139 MB / 4.256 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/10.68, allocations: 8.797 kB / 4.256 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/10.68, allocations: 34.86 kB / 4.256 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/10.68, allocations: 43.09 kB / 4.256 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/10.68, allocations: 1.053 MB / 4.257 GB, free: 128.9 MB / 0.8855 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.008179/10.69, allocations: 5.018 MB / 4.262 GB, free: 127 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/10.69, allocations: 0.7729 MB / 4.263 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005917/10.69, allocations: 478.6 kB / 4.263 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009456/10.69, allocations: 0.8471 MB / 4.264 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000777/10.69, allocations: 0.5822 MB / 4.265 GB, free: 126 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 3.927e-06/10.69, allocations: 2.156 kB / 4.265 GB, free: 126 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.002098/10.7, allocations: 1.085 MB / 4.266 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/10.7, allocations: 116.6 kB / 4.266 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/10.7, allocations: 0.8918 MB / 4.267 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/10.7, allocations: 47.83 kB / 4.267 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005112/10.7, allocations: 0.5264 MB / 4.267 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/10.7, allocations: 276 kB / 4.268 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/10.7, allocations: 17.03 kB / 4.268 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001002/10.7, allocations: 346.7 kB / 4.268 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/10.7, allocations: 391.5 kB / 4.268 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/10.7, allocations: 0.6023 MB / 4.269 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/10.7, allocations: 495.4 kB / 4.269 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/10.7, allocations: 3.875 kB / 4.269 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002062/10.7, allocations: 1.268 MB / 4.271 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002725/10.7, allocations: 1.128 MB / 4.272 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/10.7, allocations: 3.125 kB / 4.272 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/10.7, allocations: 6.906 kB / 4.272 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/10.71, allocations: 263 kB / 4.272 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/10.71, allocations: 12.91 kB / 4.272 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/10.71, allocations: 209.8 kB / 4.272 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/10.71, allocations: 52.09 kB / 4.272 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/10.71, allocations: 3.875 kB / 4.272 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00181/10.71, allocations: 1.188 MB / 4.273 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/10.71, allocations: 7.406 kB / 4.273 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/10.71, allocations: 6.969 kB / 4.273 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/10.71, allocations: 264.8 kB / 4.274 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/10.71, allocations: 10.75 kB / 4.274 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/10.71, allocations: 200.6 kB / 4.274 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/10.71, allocations: 54.47 kB / 4.274 GB, free: 123.1 MB / 0.8855 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.0005028/10.71, allocations: 223.1 kB / 4.274 GB, free: 123 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/10.71, allocations: 131.7 kB / 4.274 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/10.72, allocations: 1.294 MB / 4.275 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/10.72, allocations: 10.44 kB / 4.275 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/10.72, allocations: 3.625 kB / 4.275 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/10.72, allocations: 3.234 kB / 4.275 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004978/10.72, allocations: 2.769 MB / 4.278 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/10.72, allocations: 3.594 kB / 4.278 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/10.72, allocations: 200.7 kB / 4.278 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.799e-05/10.72, allocations: 7.625 kB / 4.278 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.583e-05/10.72, allocations: 36.31 kB / 4.278 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/10.72, allocations: 14.84 kB / 4.278 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/10.72, allocations: 3.938 kB / 4.278 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/10.72, allocations: 2.14 MB / 4.281 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007867/10.73, allocations: 348 kB / 4.281 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/10.73, allocations: 25.22 kB / 4.281 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/10.73, allocations: 139.8 kB / 4.281 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/10.73, allocations: 71.62 kB / 4.281 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-05/10.73, allocations: 51.34 kB / 4.281 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009749/10.73, allocations: 0.6831 MB / 4.282 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/10.73, allocations: 0 / 4.282 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003331/10.73, allocations: 1.005 MB / 4.283 GB, free: 121.3 MB / 0.8855 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.006778/10.74, allocations: 5.63 MB / 4.288 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002825/10.74, allocations: 1.904 MB / 4.29 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/10.74, allocations: 3.25 kB / 4.29 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007848/10.74, allocations: 0.6519 MB / 4.291 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/10.74, allocations: 0.5054 MB / 4.291 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/10.75, allocations: 2.151 MB / 4.293 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/10.75, allocations: 1.188 MB / 4.295 GB, free: 117 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002069/10.75, allocations: 423.4 kB / 4.295 GB, free: 117 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006392/10.75, allocations: 475.2 kB / 4.295 GB, free: 117 MB / 0.8855 GB Notification: Performance of SimCode: time 1.392e-06/10.75, allocations: 0 / 4.295 GB, free: 117 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/10.86, allocations: 69.09 MB / 4.363 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/10.86, allocations: 218.3 kB / 4.363 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.597/15.46, allocations: 0 / 4.363 GB, free: 114.5 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)