Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009492/0.0009494, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004778/0.004778, allocations: 168.5 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.55/2.55, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 12.91 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2551, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.6701/0.9252, allocations: 201.9 MB / 1.256 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.9389, allocations: 13.65 MB / 1.269 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.9404, allocations: 48.84 kB / 1.269 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.9419, allocations: 0.6512 MB / 1.27 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004397/0.9463, allocations: 2.07 MB / 1.272 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.9508, allocations: 1.833 MB / 1.274 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00505/0.9559, allocations: 4.161 MB / 1.278 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.9573, allocations: 0.9721 MB / 1.279 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004179/0.9615, allocations: 1.619 MB / 1.28 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.9634, allocations: 1.013 MB / 1.281 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.9636, allocations: 54.59 kB / 1.281 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005978/0.9696, allocations: 3.19 MB / 1.284 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003905/0.97, allocations: 348.1 kB / 1.285 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008931/0.9709, allocations: 0.7215 MB / 1.286 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004272/0.9752, allocations: 3.103 MB / 1.289 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.9752, allocations: 0 / 1.289 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.225e-06/0.9752, allocations: 1.281 kB / 1.289 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.896e-05/0.9752, allocations: 0 / 1.289 GB, free: 2.164 MB / 0.9981 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.003999/0.9792, allocations: 1.832 MB / 1.29 GB, free: 17.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.9793, allocations: 12.81 kB / 1.29 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.9795, allocations: 144.2 kB / 1.29 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003011/0.9825, allocations: 0.5553 MB / 1.291 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.9845, allocations: 1.091 MB / 1.292 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00065/0.9852, allocations: 205.4 kB / 1.292 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.9854, allocations: 97.62 kB / 1.292 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.9879, allocations: 1.279 MB / 1.294 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.9879, allocations: 0 / 1.294 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.988, allocations: 42.2 kB / 1.294 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.9881, allocations: 47.36 kB / 1.294 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002812/0.9909, allocations: 1.319 MB / 1.295 GB, free: 16.39 MB / 1.014 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.006626/0.9975, allocations: 4.899 MB / 1.3 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.9998, allocations: 1.025 MB / 1.301 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/1.001, allocations: 0.5784 MB / 1.301 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/1.002, allocations: 0.8683 MB / 1.302 GB, free: 13.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/1.003, allocations: 0.7007 MB / 1.303 GB, free: 13.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 2.685e-06/1.003, allocations: 0 / 1.303 GB, free: 13.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.003807/1.007, allocations: 1.782 MB / 1.305 GB, free: 13.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/1.007, allocations: 118.1 kB / 1.305 GB, free: 12.95 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/1.008, allocations: 1.042 MB / 1.306 GB, free: 12.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.853e-05/1.008, allocations: 47.45 kB / 1.306 GB, free: 12.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/1.009, allocations: 0.5223 MB / 1.306 GB, free: 12.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/1.009, allocations: 280 kB / 1.307 GB, free: 12.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1.009, allocations: 90.3 kB / 1.307 GB, free: 12.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.009, allocations: 338.3 kB / 1.307 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/1.01, allocations: 0.5123 MB / 1.307 GB, free: 12.06 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/1.012, allocations: 0.6967 MB / 1.308 GB, free: 11.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/1.014, allocations: 1.219 MB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.014, allocations: 0 / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00278/1.017, allocations: 1.497 MB / 1.311 GB, free: 11.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.017, allocations: 229.4 kB / 1.311 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.017, allocations: 3.094 kB / 1.311 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.017, allocations: 9.969 kB / 1.311 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.018, allocations: 253.5 kB / 1.311 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.018, allocations: 12.36 kB / 1.311 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/1.019, allocations: 203.1 kB / 1.311 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/1.019, allocations: 49.75 kB / 1.312 GB, free: 11.13 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.47e-06/1.019, allocations: 3.344 kB / 1.312 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002654/1.022, allocations: 1.409 MB / 1.313 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/1.022, allocations: 3.094 kB / 1.313 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/1.022, allocations: 5.531 kB / 1.313 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.023, allocations: 259.2 kB / 1.313 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.023, allocations: 6.219 kB / 1.313 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.024, allocations: 193.5 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/1.024, allocations: 56 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004704/1.025, allocations: 465.7 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/1.025, allocations: 129.8 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/1.028, allocations: 1.507 MB / 1.315 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/1.028, allocations: 8.281 kB / 1.315 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/1.028, allocations: 0 / 1.315 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/1.028, allocations: 3.141 kB / 1.315 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/1.032, allocations: 2.968 MB / 1.318 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/1.032, allocations: 2.656 kB / 1.318 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008541/1.033, allocations: 210.2 kB / 1.319 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.033, allocations: 6.469 kB / 1.319 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/1.033, allocations: 38.8 kB / 1.319 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/1.033, allocations: 5.5 kB / 1.319 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.033, allocations: 12.56 kB / 1.319 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/1.037, allocations: 2.279 MB / 1.321 GB, free: 9.445 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/1.037, allocations: 347.1 kB / 1.321 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/1.038, allocations: 29.61 kB / 1.321 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.039, allocations: 159.6 kB / 1.321 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/1.039, allocations: 62.77 kB / 1.321 GB, free: 9.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/1.039, allocations: 42.88 kB / 1.321 GB, free: 9.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007345/1.04, allocations: 0.7186 MB / 1.322 GB, free: 9.137 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.04, allocations: 0 / 1.322 GB, free: 9.137 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001648/1.041, allocations: 0.7942 MB / 1.323 GB, free: 9.035 MB / 1.014 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: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004952/1.046, allocations: 3.234 MB / 1.326 GB, free: 8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003916/1.05, allocations: 2.25 MB / 1.328 GB, free: 7.699 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.05, allocations: 0 / 1.328 GB, free: 7.699 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/1.052, allocations: 0.7724 MB / 1.329 GB, free: 7.562 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/1.054, allocations: 0.5336 MB / 1.33 GB, free: 7.508 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/1.071, allocations: 11.18 MB / 1.34 GB, free: 3.465 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/1.072, allocations: 1.159 MB / 1.342 GB, free: 2.742 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00139/1.073, allocations: 348.1 kB / 1.342 GB, free: 2.652 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/1.074, allocations: 0.4952 MB / 1.342 GB, free: 2.641 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/1.074, allocations: 0 / 1.342 GB, free: 2.641 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.235/3.309, allocations: 34.97 MB / 1.377 GB, free: 10.96 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/3.309, allocations: 271.2 kB / 1.377 GB, free: 10.59 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.911/6.22, allocations: 0 / 1.377 GB, free: 10.59 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)