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.000915/0.000915, allocations: 98.27 kB / 16.02 MB, free: 80 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.00126/0.00126, allocations: 186.7 kB / 16.92 MB, free: 6.754 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7154/0.7154, allocations: 115.5 MB / 407.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 8.625 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1505, allocations: 77.54 MB / 0.56 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.467/0.6175, allocations: 201.8 MB / 0.757 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01788/0.6354, allocations: 13.68 MB / 0.7704 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.6371, allocations: 43.69 kB / 0.7704 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.6391, allocations: 0.6488 MB / 0.771 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005572/0.6447, allocations: 2.069 MB / 0.7731 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004514/0.6492, allocations: 1.839 MB / 0.7749 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004545/0.6538, allocations: 4.155 MB / 0.7789 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.6552, allocations: 0.9702 MB / 0.7799 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004375/0.6596, allocations: 1.624 MB / 0.7814 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.6613, allocations: 1.019 MB / 0.7824 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.6615, allocations: 52 kB / 0.7825 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005506/0.667, allocations: 3.185 MB / 0.7856 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004688/0.6675, allocations: 346.6 kB / 0.7859 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00097/0.6685, allocations: 0.7204 MB / 0.7866 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004642/0.6731, allocations: 3.1 MB / 0.7897 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6731, allocations: 8 kB / 0.7897 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6731, allocations: 11.88 kB / 0.7897 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.568e-05/0.6732, allocations: 0 / 0.7897 GB, free: 11.51 MB / 0.6075 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.003791/0.677, allocations: 1.818 MB / 0.7915 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.677, allocations: 12.03 kB / 0.7915 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/0.6801, allocations: 0.5601 MB / 0.792 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.6821, allocations: 1.086 MB / 0.7931 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006862/0.6828, allocations: 209.9 kB / 0.7933 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.683, allocations: 104 kB / 0.7934 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.6857, allocations: 1.275 MB / 0.7946 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.6857, allocations: 0 / 0.7946 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.6858, allocations: 36 kB / 0.7947 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.6859, allocations: 41.98 kB / 0.7947 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/0.689, allocations: 1.327 MB / 0.796 GB, free: 4.906 MB / 0.6075 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.007661/0.6967, allocations: 4.889 MB / 0.8008 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/0.6992, allocations: 1.023 MB / 0.8018 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.7005, allocations: 0.5742 MB / 0.8023 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.7018, allocations: 0.8696 MB / 0.8032 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/0.7032, allocations: 0.6999 MB / 0.8039 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 3.226e-06/0.7033, allocations: 0 / 0.8039 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.004404/0.7077, allocations: 1.777 MB / 0.8056 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.7078, allocations: 119.4 kB / 0.8057 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.7092, allocations: 1.054 MB / 0.8067 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.777e-05/0.7093, allocations: 41.7 kB / 0.8068 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.7097, allocations: 0.532 MB / 0.8073 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.7099, allocations: 272.1 kB / 0.8076 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.7101, allocations: 85.67 kB / 0.8076 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7102, allocations: 341.9 kB / 0.808 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.7116, allocations: 0.5056 MB / 0.8085 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.713, allocations: 0.6982 MB / 0.8091 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/0.7157, allocations: 1.214 MB / 0.8103 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7157, allocations: 0 / 0.8103 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003359/0.719, allocations: 1.491 MB / 0.8118 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.7192, allocations: 237.3 kB / 0.812 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.7192, allocations: 4 kB / 0.812 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.7192, allocations: 4 kB / 0.812 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.7205, allocations: 263.7 kB / 0.8123 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.7206, allocations: 11.94 kB / 0.8123 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.722, allocations: 214.9 kB / 0.8125 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.785e-05/0.7221, allocations: 39.97 kB / 0.8125 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.7222, allocations: 4 kB / 0.8125 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003249/0.7254, allocations: 1.405 MB / 0.8139 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.7254, allocations: 0 / 0.8139 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.7254, allocations: 8 kB / 0.8139 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.7267, allocations: 263.7 kB / 0.8142 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.7267, allocations: 7.938 kB / 0.8142 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.7281, allocations: 191.1 kB / 0.8143 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.554e-05/0.7282, allocations: 51.91 kB / 0.8144 GB, free: 1.25 MB / 0.6231 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.0006782/0.7289, allocations: 464.2 kB / 0.8148 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.7291, allocations: 130.4 kB / 0.815 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/0.7325, allocations: 1.503 MB / 0.8164 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.7326, allocations: 15.92 kB / 0.8164 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7326, allocations: 4 kB / 0.8165 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.7326, allocations: 3.984 kB / 0.8165 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.7378, allocations: 2.96 MB / 0.8193 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.7378, allocations: 8.031 kB / 0.8194 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009922/0.7388, allocations: 199.7 kB / 0.8195 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.7388, allocations: 8 kB / 0.8196 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.529e-05/0.7389, allocations: 35.97 kB / 0.8196 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/0.7389, allocations: 8 kB / 0.8196 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.7389, allocations: 19.81 kB / 0.8196 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004653/0.7436, allocations: 2.281 MB / 0.8218 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005858/0.7442, allocations: 347.1 kB / 0.8222 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.7444, allocations: 24 kB / 0.8222 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.7457, allocations: 148.5 kB / 0.8223 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.7458, allocations: 64.36 kB / 0.8224 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/0.7459, allocations: 47.97 kB / 0.8224 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009875/0.7469, allocations: 0.7168 MB / 0.8231 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7469, allocations: 0 / 0.8231 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001963/0.7489, allocations: 0.7955 MB / 0.8239 GB, free: 7.25 MB / 0.6387 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.00117/0.7501, allocations: 0.5039 MB / 0.8244 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004774/0.7549, allocations: 2.249 MB / 0.8266 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7549, allocations: 448 / 0.8266 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.7564, allocations: 0.7797 MB / 0.8274 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/0.7596, allocations: 0.5257 MB / 0.8279 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/0.7645, allocations: 2.945 MB / 0.8308 GB, free: 124 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2274/0.992, allocations: 1.148 MB / 0.8319 GB, free: 229.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0018/0.9938, allocations: 349.2 kB / 0.8322 GB, free: 229.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/0.9942, allocations: 105.5 kB / 0.8323 GB, free: 229.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/0.9942, allocations: 1.438 kB / 0.8323 GB, free: 229.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.04587/1.04, allocations: 25.54 MB / 0.8573 GB, free: 221.8 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)