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: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 252 MB / 267.6 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 180.9 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.0009254/0.0009255, allocations: 88.02 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.000342, allocations: 8.844 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.247, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.8515/1.099, allocations: 188.7 MB / 1.085 GB, free: 4.008 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01969/1.118, allocations: 12.64 MB / 1.097 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/1.121, allocations: 44.62 kB / 1.098 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002318/1.124, allocations: 0.5253 MB / 1.098 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007196/1.131, allocations: 1.717 MB / 1.1 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007101/1.138, allocations: 1.612 MB / 1.101 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006614/1.145, allocations: 3.563 MB / 1.105 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/1.147, allocations: 0.8725 MB / 1.106 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004592/1.151, allocations: 1.403 MB / 1.107 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/1.154, allocations: 0.9877 MB / 1.108 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002662/1.154, allocations: 54.84 kB / 1.108 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006453/1.161, allocations: 2.299 MB / 1.11 GB, free: 3.379 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008222/1.162, allocations: 331.5 kB / 1.111 GB, free: 3.379 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/1.163, allocations: 313.3 kB / 1.111 GB, free: 19.34 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005335/1.168, allocations: 2.147 MB / 1.113 GB, free: 19.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/1.168, allocations: 0 / 1.113 GB, free: 19.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.817e-06/1.168, allocations: 2.906 kB / 1.113 GB, free: 19.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.236e-05/1.168, allocations: 0 / 1.113 GB, free: 19.16 MB / 0.7136 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.005246/1.174, allocations: 1.839 MB / 1.115 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/1.174, allocations: 15.72 kB / 1.115 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003408/1.177, allocations: 0.5583 MB / 1.115 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/1.18, allocations: 1.052 MB / 1.116 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006652/1.181, allocations: 206.3 kB / 1.117 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/1.181, allocations: 98 kB / 1.117 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/1.184, allocations: 1.275 MB / 1.118 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/1.184, allocations: 0 / 1.118 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.184, allocations: 33.06 kB / 1.118 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-05/1.184, allocations: 43.17 kB / 1.118 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/1.187, allocations: 1.329 MB / 1.119 GB, free: 17.47 MB / 0.7136 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.009917/1.197, allocations: 4.897 MB / 1.124 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/1.199, allocations: 1.028 MB / 1.125 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/1.201, allocations: 0.5851 MB / 1.126 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/1.202, allocations: 0.8659 MB / 1.126 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/1.204, allocations: 0.7059 MB / 1.127 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 4.168e-06/1.204, allocations: 0 / 1.127 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.005024/1.209, allocations: 1.779 MB / 1.129 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.209, allocations: 121.4 kB / 1.129 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/1.211, allocations: 1.023 MB / 1.13 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000234/1.211, allocations: 47.52 kB / 1.13 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005663/1.212, allocations: 0.529 MB / 1.131 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/1.212, allocations: 278.4 kB / 1.131 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/1.212, allocations: 16.12 kB / 1.131 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002162/1.213, allocations: 345.4 kB / 1.131 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/1.214, allocations: 0.5103 MB / 1.132 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/1.215, allocations: 0.7046 MB / 1.132 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/1.217, allocations: 0.6039 MB / 1.133 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.217, allocations: 0 / 1.133 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004163/1.221, allocations: 1.506 MB / 1.134 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002735/1.221, allocations: 233.8 kB / 1.135 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.222, allocations: 6.172 kB / 1.135 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/1.222, allocations: 5.844 kB / 1.135 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.223, allocations: 267.6 kB / 1.135 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/1.223, allocations: 10.42 kB / 1.135 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.225, allocations: 203.6 kB / 1.135 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/1.225, allocations: 49.75 kB / 1.135 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.225, allocations: 1.906 kB / 1.135 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003171/1.228, allocations: 1.414 MB / 1.137 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.228, allocations: 3.531 kB / 1.137 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/1.228, allocations: 8.031 kB / 1.137 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.229, allocations: 271.7 kB / 1.137 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.229, allocations: 7.781 kB / 1.137 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/1.231, allocations: 191.1 kB / 1.137 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/1.231, allocations: 49.66 kB / 1.137 GB, free: 11.15 MB / 0.7136 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 () * Number of clocked 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.0009355/1.232, allocations: 459.8 kB / 1.137 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/1.232, allocations: 127.2 kB / 1.138 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/1.236, allocations: 1.52 MB / 1.139 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/1.236, allocations: 15.83 kB / 1.139 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.236, allocations: 0 / 1.139 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.236, allocations: 7.984 kB / 1.139 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005448/1.241, allocations: 2.957 MB / 1.142 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.241, allocations: 9.125 kB / 1.142 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/1.242, allocations: 203.1 kB / 1.142 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/1.242, allocations: 6.25 kB / 1.142 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.315e-05/1.242, allocations: 28.73 kB / 1.142 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/1.242, allocations: 8.031 kB / 1.142 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/1.242, allocations: 6.188 kB / 1.142 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006421/1.249, allocations: 2.297 MB / 1.144 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.25, allocations: 351.1 kB / 1.145 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006269/1.251, allocations: 21 kB / 1.145 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/1.253, allocations: 129.8 kB / 1.145 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/1.254, allocations: 70.56 kB / 1.145 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002519/1.254, allocations: 42.38 kB / 1.145 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002086/1.256, allocations: 0.698 MB / 1.146 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.256, allocations: 0 / 1.146 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004421/1.26, allocations: 0.7897 MB / 1.147 GB, free: 7.922 MB / 0.7136 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) * Number of clocked states: 0 () * 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.00225/1.263, allocations: 0.5118 MB / 1.147 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007885/1.271, allocations: 2.264 MB / 1.149 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.271, allocations: 0 / 1.149 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/1.273, allocations: 0.7905 MB / 1.15 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005321/1.278, allocations: 0.5285 MB / 1.151 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00905/1.287, allocations: 2.87 MB / 1.153 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/1.289, allocations: 1.158 MB / 1.154 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008648/1.29, allocations: 116.1 kB / 1.155 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of SimCode: time 1.103e-06/1.29, allocations: 0 / 1.155 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of Templates: time 0.05502/1.345, allocations: 22.61 MB / 1.177 GB, free: 14.95 MB / 0.7449 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)