Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 98.03 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.008611/0.008611, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.621/1.621, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 14.84 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.844/1.182, allocations: 201.8 MB / 1.271 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01738/1.199, allocations: 13.66 MB / 1.285 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/1.202, allocations: 40.34 kB / 1.285 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00205/1.204, allocations: 0.6556 MB / 1.285 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006607/1.211, allocations: 2.069 MB / 1.287 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006253/1.217, allocations: 1.841 MB / 1.289 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006529/1.224, allocations: 4.16 MB / 1.293 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/1.226, allocations: 0.9702 MB / 1.294 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005166/1.231, allocations: 1.626 MB / 1.296 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/1.234, allocations: 1.015 MB / 1.297 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003136/1.234, allocations: 54.5 kB / 1.297 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006862/1.241, allocations: 3.189 MB / 1.3 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007276/1.242, allocations: 341.8 kB / 1.3 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001696/1.243, allocations: 0.7166 MB / 1.301 GB, free: 21.47 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006841/1.25, allocations: 3.108 MB / 1.304 GB, free: 21.28 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.25, allocations: 0 / 1.304 GB, free: 21.28 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.507e-06/1.25, allocations: 0 / 1.304 GB, free: 21.28 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.322e-05/1.25, allocations: 1.188 kB / 1.304 GB, free: 21.28 MB / 1.014 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.00458/1.255, allocations: 1.825 MB / 1.306 GB, free: 20.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/1.255, allocations: 8.531 kB / 1.306 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003423/1.258, allocations: 0.5627 MB / 1.306 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/1.261, allocations: 1.084 MB / 1.307 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007244/1.262, allocations: 218.1 kB / 1.308 GB, free: 19.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002694/1.262, allocations: 98.44 kB / 1.308 GB, free: 19.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/1.265, allocations: 1.273 MB / 1.309 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/1.265, allocations: 0 / 1.309 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/1.265, allocations: 37.75 kB / 1.309 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.772e-05/1.265, allocations: 43.19 kB / 1.309 GB, free: 19.58 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/1.268, allocations: 1.322 MB / 1.31 GB, free: 19.55 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.008482/1.277, allocations: 4.914 MB / 1.315 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/1.28, allocations: 1.033 MB / 1.316 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/1.281, allocations: 0.581 MB / 1.317 GB, free: 17.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/1.282, allocations: 0.865 MB / 1.317 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/1.284, allocations: 0.6947 MB / 1.318 GB, free: 16.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.126e-06/1.284, allocations: 0 / 1.318 GB, free: 16.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004548/1.288, allocations: 1.781 MB / 1.32 GB, free: 16.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/1.288, allocations: 122.8 kB / 1.32 GB, free: 16.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1.29, allocations: 1.047 MB / 1.321 GB, free: 15.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001574/1.29, allocations: 43.45 kB / 1.321 GB, free: 15.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/1.291, allocations: 0.5228 MB / 1.322 GB, free: 15.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/1.291, allocations: 273.8 kB / 1.322 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/1.291, allocations: 84.53 kB / 1.322 GB, free: 15.51 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.291, allocations: 342.9 kB / 1.322 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/1.292, allocations: 0.5146 MB / 1.323 GB, free: 15.19 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/1.294, allocations: 0.6936 MB / 1.323 GB, free: 15.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/1.296, allocations: 1.218 MB / 1.325 GB, free: 14.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/1.296, allocations: 3.625 kB / 1.325 GB, free: 14.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003281/1.3, allocations: 1.489 MB / 1.326 GB, free: 14.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.3, allocations: 228.1 kB / 1.326 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.3, allocations: 3.406 kB / 1.326 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.3, allocations: 6.375 kB / 1.326 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/1.301, allocations: 265 kB / 1.327 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/1.301, allocations: 8.281 kB / 1.327 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.303, allocations: 205.3 kB / 1.327 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.303, allocations: 46.2 kB / 1.327 GB, free: 14.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/1.303, allocations: 5.203 kB / 1.327 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003228/1.306, allocations: 1.405 MB / 1.328 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.306, allocations: 3.5 kB / 1.328 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/1.306, allocations: 9.188 kB / 1.328 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.307, allocations: 256.6 kB / 1.328 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.307, allocations: 8.094 kB / 1.328 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/1.309, allocations: 188.8 kB / 1.329 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.695e-05/1.309, allocations: 49.92 kB / 1.329 GB, free: 14.07 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.0007636/1.31, allocations: 470.3 kB / 1.329 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/1.31, allocations: 140.7 kB / 1.329 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/1.313, allocations: 1.499 MB / 1.331 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/1.313, allocations: 10.14 kB / 1.331 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.313, allocations: 3.938 kB / 1.331 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/1.313, allocations: 2.906 kB / 1.331 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00505/1.318, allocations: 2.974 MB / 1.334 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.318, allocations: 6.969 kB / 1.334 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009682/1.319, allocations: 202.4 kB / 1.334 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/1.319, allocations: 5.094 kB / 1.334 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/1.32, allocations: 38.11 kB / 1.334 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/1.32, allocations: 6.469 kB / 1.334 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.32, allocations: 8 kB / 1.334 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/1.324, allocations: 2.287 MB / 1.336 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006283/1.325, allocations: 349.2 kB / 1.336 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.325, allocations: 24.03 kB / 1.336 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.326, allocations: 158.3 kB / 1.337 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/1.326, allocations: 63.52 kB / 1.337 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.326, allocations: 44.06 kB / 1.337 GB, free: 12.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001031/1.327, allocations: 0.715 MB / 1.337 GB, free: 12.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.71e-07/1.327, allocations: 0 / 1.337 GB, free: 12.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002184/1.33, allocations: 0.7929 MB / 1.338 GB, free: 12.15 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.001144/1.331, allocations: 0.4992 MB / 1.339 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004557/1.335, allocations: 2.248 MB / 1.341 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.335, allocations: 4.062 kB / 1.341 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/1.337, allocations: 0.776 MB / 1.342 GB, free: 11.55 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/1.34, allocations: 0.5218 MB / 1.342 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/1.345, allocations: 2.934 MB / 1.345 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007999/1.346, allocations: 1.155 MB / 1.346 GB, free: 9.332 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001853/1.348, allocations: 347.3 kB / 1.346 GB, free: 9.242 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/1.348, allocations: 107.6 kB / 1.347 GB, free: 9.234 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/1.348, allocations: 0 / 1.347 GB, free: 9.234 MB / 1.014 GB Notification: Performance of Templates: time 0.04293/1.391, allocations: 25.56 MB / 1.372 GB, free: 12.45 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)