Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009178/0.0009178, allocations: 97.52 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 173.2 kB / 16.57 MB, free: 6.391 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.307/1.307, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6719/0.6719, allocations: 113.8 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.000303, allocations: 12 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 77.16 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.4164/0.5561, allocations: 172.2 MB / 0.725 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01603/0.5722, allocations: 11.98 MB / 0.7367 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.5737, allocations: 39.69 kB / 0.7367 GB, free: 1.812 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.5757, allocations: 0.7115 MB / 0.7374 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.5809, allocations: 2.019 MB / 0.7394 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.5855, allocations: 1.737 MB / 0.7411 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003377/0.5889, allocations: 1.925 MB / 0.7429 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.5904, allocations: 0.9068 MB / 0.7438 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.5936, allocations: 1.378 MB / 0.7452 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.5947, allocations: 0.7274 MB / 0.7459 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.5949, allocations: 56 kB / 0.7459 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003866/0.5988, allocations: 2.036 MB / 0.7479 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.5991, allocations: 322.9 kB / 0.7482 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.5995, allocations: 305 kB / 0.7485 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.602, allocations: 2.037 MB / 0.7505 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.602, allocations: 0 / 0.7505 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.223e-06/0.602, allocations: 0 / 0.7505 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.602, allocations: 0 / 0.7505 GB, free: 3.652 MB / 0.5606 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.003486/0.6055, allocations: 1.807 MB / 0.7523 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.6056, allocations: 8.031 kB / 0.7523 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.6085, allocations: 0.564 MB / 0.7528 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.6103, allocations: 1.021 MB / 0.7538 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006669/0.611, allocations: 205.9 kB / 0.754 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.6112, allocations: 99.98 kB / 0.7541 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.6136, allocations: 1.271 MB / 0.7554 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.6136, allocations: 4 kB / 0.7554 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.6137, allocations: 32 kB / 0.7554 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.6138, allocations: 41.98 kB / 0.7554 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/0.6168, allocations: 1.319 MB / 0.7567 GB, free: 13.14 MB / 0.5762 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.007998/0.6248, allocations: 4.909 MB / 0.7615 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.6276, allocations: 1.053 MB / 0.7626 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.6287, allocations: 0.6916 MB / 0.7632 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/0.6303, allocations: 0.7346 MB / 0.7639 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.485e-06/0.6303, allocations: 0 / 0.7639 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.004278/0.6346, allocations: 1.933 MB / 0.7658 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.6347, allocations: 149.1 kB / 0.766 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.6361, allocations: 1.038 MB / 0.767 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.6363, allocations: 45.7 kB / 0.767 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.6367, allocations: 0.5281 MB / 0.7675 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.6369, allocations: 276 kB / 0.7678 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.637, allocations: 16 kB / 0.7678 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6371, allocations: 341.9 kB / 0.7682 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.6384, allocations: 0.5055 MB / 0.7686 GB, free: 348 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.6397, allocations: 0.6903 MB / 0.7693 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.6411, allocations: 0.5958 MB / 0.7699 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.6411, allocations: 0 / 0.7699 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003253/0.6444, allocations: 1.487 MB / 0.7714 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004378/0.6448, allocations: 1.025 MB / 0.7724 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6448, allocations: 4 kB / 0.7724 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.6449, allocations: 8 kB / 0.7724 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.6461, allocations: 263.6 kB / 0.7726 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.6461, allocations: 4 kB / 0.7726 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.6476, allocations: 210.2 kB / 0.7728 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.6477, allocations: 47.97 kB / 0.7729 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.6478, allocations: 6.188 kB / 0.7729 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003062/0.6508, allocations: 1.394 MB / 0.7742 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6508, allocations: 4 kB / 0.7742 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.6509, allocations: 8 kB / 0.7742 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.652, allocations: 263.7 kB / 0.7745 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.6521, allocations: 8.734 kB / 0.7745 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.6534, allocations: 191.1 kB / 0.7747 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-05/0.6535, allocations: 47.91 kB / 0.7747 GB, free: 9.922 MB / 0.5919 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 ($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 (106): * Single equations (assignments): 104 * 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.0006865/0.6542, allocations: 464.2 kB / 0.7752 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.6544, allocations: 126.5 kB / 0.7753 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/0.6577, allocations: 1.5 MB / 0.7768 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.6577, allocations: 11.95 kB / 0.7768 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6577, allocations: 7.938 kB / 0.7768 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.6577, allocations: 7.984 kB / 0.7768 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00526/0.663, allocations: 3.034 MB / 0.7798 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.663, allocations: 0 / 0.7798 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009503/0.664, allocations: 203.8 kB / 0.7799 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/0.664, allocations: 11.98 kB / 0.78 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/0.6641, allocations: 31.98 kB / 0.78 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.6641, allocations: 11.92 kB / 0.78 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6641, allocations: 11.94 kB / 0.78 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00446/0.6686, allocations: 2.445 MB / 0.7824 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006117/0.6692, allocations: 355.1 kB / 0.7827 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.6694, allocations: 27.94 kB / 0.7828 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.6708, allocations: 160.3 kB / 0.7829 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.6709, allocations: 72.41 kB / 0.783 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.171e-05/0.671, allocations: 39.97 kB / 0.783 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001039/0.672, allocations: 0.7129 MB / 0.7837 GB, free: 424 kB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6721, allocations: 0 / 0.7837 GB, free: 424 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002075/0.6741, allocations: 0.7878 MB / 0.7845 GB, free: 15.62 MB / 0.6075 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 (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.00118/0.6753, allocations: 0.5057 MB / 0.785 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004607/0.6799, allocations: 2.238 MB / 0.7872 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.68, allocations: 4.062 kB / 0.7872 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.6814, allocations: 0.7757 MB / 0.7879 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.6841, allocations: 0.5076 MB / 0.7884 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/0.6893, allocations: 2.828 MB / 0.7912 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008376/0.6902, allocations: 1.18 MB / 0.7923 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001895/0.6921, allocations: 354.8 kB / 0.7927 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.6925, allocations: 103.4 kB / 0.7928 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of SimCode: time 8.02e-07/0.6925, allocations: 0 / 0.7928 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of Templates: time 0.04104/0.7336, allocations: 24.91 MB / 0.8171 GB, free: 14.4 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)