Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009794/0.0009793, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00559/0.00559, allocations: 170 kB / 16.26 MB, free: 6.613 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.36/1.36, 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 12.0.0-master/package.mo): time 2.733/2.733, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 12.25 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3134, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.8151/1.129, allocations: 201.8 MB / 1.271 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01787/1.146, allocations: 13.66 MB / 1.285 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/1.149, allocations: 45.38 kB / 1.285 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/1.151, allocations: 0.6511 MB / 1.285 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006328/1.157, allocations: 2.067 MB / 1.287 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005871/1.163, allocations: 1.838 MB / 1.289 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006242/1.169, allocations: 4.17 MB / 1.293 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/1.171, allocations: 0.9684 MB / 1.294 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004952/1.176, allocations: 1.622 MB / 1.296 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/1.179, allocations: 1.01 MB / 1.297 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002317/1.179, allocations: 54 kB / 1.297 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006345/1.185, allocations: 3.194 MB / 1.3 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005927/1.186, allocations: 341.4 kB / 1.3 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001443/1.187, allocations: 0.7192 MB / 1.301 GB, free: 21.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006505/1.194, allocations: 3.103 MB / 1.304 GB, free: 21.3 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.194, allocations: 0 / 1.304 GB, free: 21.3 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.914e-06/1.194, allocations: 1.062 kB / 1.304 GB, free: 21.3 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.792e-05/1.194, allocations: 0 / 1.304 GB, free: 21.3 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.004668/1.199, allocations: 1.827 MB / 1.306 GB, free: 20.22 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.199, allocations: 9.375 kB / 1.306 GB, free: 20.22 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003406/1.202, allocations: 0.5636 MB / 1.306 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/1.204, allocations: 1.092 MB / 1.307 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000745/1.205, allocations: 208.2 kB / 1.308 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/1.205, allocations: 99.39 kB / 1.308 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/1.208, allocations: 1.28 MB / 1.309 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/1.208, allocations: 4 kB / 1.309 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/1.208, allocations: 37.86 kB / 1.309 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-05/1.208, allocations: 35.19 kB / 1.309 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003342/1.212, allocations: 1.325 MB / 1.31 GB, free: 19.57 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.009903/1.222, allocations: 4.894 MB / 1.315 GB, free: 17.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/1.224, allocations: 1.043 MB / 1.316 GB, free: 17.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/1.226, allocations: 0.575 MB / 1.317 GB, free: 17.42 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/1.227, allocations: 0.8671 MB / 1.317 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/1.229, allocations: 0.6981 MB / 1.318 GB, free: 16.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.196e-06/1.229, allocations: 3 kB / 1.318 GB, free: 16.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004869/1.234, allocations: 1.777 MB / 1.32 GB, free: 16.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.234, allocations: 118.2 kB / 1.32 GB, free: 16.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/1.236, allocations: 1.044 MB / 1.321 GB, free: 15.94 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002115/1.236, allocations: 47.33 kB / 1.321 GB, free: 15.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/1.236, allocations: 0.5314 MB / 1.322 GB, free: 15.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/1.237, allocations: 275.5 kB / 1.322 GB, free: 15.54 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/1.237, allocations: 83.61 kB / 1.322 GB, free: 15.53 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.237, allocations: 349.4 kB / 1.322 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/1.238, allocations: 0.5063 MB / 1.323 GB, free: 15.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/1.24, allocations: 0.6976 MB / 1.323 GB, free: 15.03 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/1.242, allocations: 1.217 MB / 1.325 GB, free: 14.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.242, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003426/1.246, allocations: 1.488 MB / 1.326 GB, free: 14.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/1.246, allocations: 229.1 kB / 1.326 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.246, allocations: 8.766 kB / 1.326 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.246, allocations: 6.906 kB / 1.326 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.247, allocations: 259.2 kB / 1.327 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/1.247, allocations: 9.688 kB / 1.327 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/1.249, allocations: 209.9 kB / 1.327 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/1.249, allocations: 42.56 kB / 1.327 GB, free: 14.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/1.249, allocations: 7.469 kB / 1.327 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003253/1.252, allocations: 1.4 MB / 1.328 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.252, allocations: 3.125 kB / 1.328 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/1.252, allocations: 9.406 kB / 1.328 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.254, allocations: 265.7 kB / 1.328 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.254, allocations: 5.844 kB / 1.328 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.255, allocations: 192.5 kB / 1.329 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/1.255, allocations: 47.64 kB / 1.329 GB, free: 14.08 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.0008756/1.256, allocations: 476.2 kB / 1.329 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/1.256, allocations: 130.2 kB / 1.329 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/1.26, allocations: 1.503 MB / 1.331 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/1.26, allocations: 11.59 kB / 1.331 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.26, allocations: 0 / 1.331 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/1.26, allocations: 3 kB / 1.331 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/1.265, allocations: 2.976 MB / 1.334 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.265, allocations: 5.969 kB / 1.334 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000963/1.266, allocations: 206.3 kB / 1.334 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/1.266, allocations: 9.156 kB / 1.334 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.553e-05/1.266, allocations: 31.95 kB / 1.334 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/1.266, allocations: 6.984 kB / 1.334 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.266, allocations: 9.125 kB / 1.334 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004756/1.271, allocations: 2.287 MB / 1.336 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008612/1.272, allocations: 346.6 kB / 1.336 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/1.272, allocations: 23.97 kB / 1.336 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.273, allocations: 155.5 kB / 1.337 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.273, allocations: 65.59 kB / 1.337 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-05/1.273, allocations: 44.05 kB / 1.337 GB, free: 12.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001126/1.275, allocations: 0.7105 MB / 1.337 GB, free: 12.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.275, allocations: 1.859 kB / 1.337 GB, free: 12.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002571/1.277, allocations: 0.7984 MB / 1.338 GB, free: 12.16 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.001239/1.278, allocations: 0.494 MB / 1.339 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004706/1.283, allocations: 2.248 MB / 1.341 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.283, allocations: 4.797 kB / 1.341 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/1.285, allocations: 0.78 MB / 1.342 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/1.288, allocations: 0.5238 MB / 1.342 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/1.293, allocations: 2.928 MB / 1.345 GB, free: 10.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008013/1.294, allocations: 1.153 MB / 1.346 GB, free: 9.352 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001909/1.296, allocations: 358.6 kB / 1.346 GB, free: 9.254 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/1.296, allocations: 107.2 kB / 1.347 GB, free: 9.246 MB / 1.014 GB Notification: Performance of SimCode: time 1.042e-06/1.296, allocations: 0 / 1.347 GB, free: 9.246 MB / 1.014 GB Notification: Performance of Templates: time 0.04469/1.341, allocations: 25.56 MB / 1.372 GB, free: 12.48 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)