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.0007652/0.0007651, allocations: 92.09 kB / 16.02 MB, free: 84 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.0008568/0.0008569, allocations: 183 kB / 16.92 MB, free: 6.914 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7238/0.7238, allocations: 123 MB / 415.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 11.38 kB / 0.4933 GB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.424, allocations: 79.29 MB / 0.5707 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.2287/0.6528, allocations: 201.8 MB / 0.7678 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.6719, allocations: 13.66 MB / 0.7811 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001864/0.6738, allocations: 43.69 kB / 0.7812 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.676, allocations: 0.6528 MB / 0.7818 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006093/0.6822, allocations: 2.077 MB / 0.7839 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005294/0.6875, allocations: 1.832 MB / 0.7856 GB, free: 52 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00525/0.6927, allocations: 4.162 MB / 0.7897 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.6946, allocations: 0.9663 MB / 0.7906 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004757/0.6994, allocations: 1.626 MB / 0.7922 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.7017, allocations: 1.017 MB / 0.7932 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003444/0.702, allocations: 52 kB / 0.7933 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006645/0.7087, allocations: 3.193 MB / 0.7964 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006034/0.7093, allocations: 342.6 kB / 0.7967 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.7106, allocations: 0.7204 MB / 0.7974 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00531/0.7159, allocations: 3.1 MB / 0.8005 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7159, allocations: 0 / 0.8005 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7159, allocations: 7.938 kB / 0.8005 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.736e-05/0.716, allocations: 0 / 0.8005 GB, free: 0.8086 MB / 0.6231 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.004107/0.7201, allocations: 1.832 MB / 0.8023 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.7201, allocations: 12.03 kB / 0.8023 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.7235, allocations: 0.5523 MB / 0.8028 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.7257, allocations: 1.094 MB / 0.8039 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006992/0.7265, allocations: 217.8 kB / 0.8041 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.7267, allocations: 92 kB / 0.8042 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002726/0.7294, allocations: 1.272 MB / 0.8054 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.7295, allocations: 0 / 0.8054 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.7296, allocations: 47.94 kB / 0.8055 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.7296, allocations: 38 kB / 0.8055 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.7329, allocations: 1.319 MB / 0.8068 GB, free: 10.2 MB / 0.6387 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.008932/0.7419, allocations: 4.893 MB / 0.8116 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/0.7447, allocations: 1.032 MB / 0.8126 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.7462, allocations: 0.5784 MB / 0.8131 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.7475, allocations: 0.8656 MB / 0.814 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/0.7492, allocations: 0.7039 MB / 0.8147 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 3.226e-06/0.7492, allocations: 0 / 0.8147 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84): time 0.347/1.096, allocations: 1.778 MB / 0.8164 GB, free: 29.47 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/1.096, allocations: 123.8 kB / 0.8165 GB, free: 29.35 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/1.098, allocations: 1.037 MB / 0.8175 GB, free: 29.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002393/1.098, allocations: 49.36 kB / 0.8176 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004394/1.099, allocations: 0.5244 MB / 0.8181 GB, free: 29.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/1.099, allocations: 275.4 kB / 0.8184 GB, free: 29.02 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/1.099, allocations: 83.67 kB / 0.8184 GB, free: 29 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.362e-05/1.099, allocations: 343.8 kB / 0.8188 GB, free: 28.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/1.101, allocations: 0.505 MB / 0.8193 GB, free: 28.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/1.102, allocations: 0.7037 MB / 0.8199 GB, free: 28.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/1.105, allocations: 1.212 MB / 0.8211 GB, free: 28.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/1.105, allocations: 5.438 kB / 0.8211 GB, free: 28.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003937/1.109, allocations: 1.483 MB / 0.8226 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/1.11, allocations: 236.7 kB / 0.8228 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.11, allocations: 2.156 kB / 0.8228 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/1.11, allocations: 6.812 kB / 0.8228 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/1.111, allocations: 264.1 kB / 0.8231 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/1.111, allocations: 8.219 kB / 0.8231 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/1.113, allocations: 206 kB / 0.8233 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/1.113, allocations: 45.89 kB / 0.8233 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.113, allocations: 6.5 kB / 0.8233 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003586/1.116, allocations: 1.4 MB / 0.8247 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.117, allocations: 3.031 kB / 0.8247 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.117, allocations: 10.06 kB / 0.8247 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.118, allocations: 263.4 kB / 0.8249 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/1.118, allocations: 6.766 kB / 0.825 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/1.119, allocations: 194.1 kB / 0.8251 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.12, allocations: 48.88 kB / 0.8252 GB, free: 27.71 MB / 0.6387 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.0007589/1.12, allocations: 466.6 kB / 0.8256 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/1.121, allocations: 134.6 kB / 0.8258 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/1.124, allocations: 1.508 MB / 0.8272 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/1.124, allocations: 10.88 kB / 0.8272 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/1.124, allocations: 0.6562 kB / 0.8272 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/1.124, allocations: 4.688 kB / 0.8272 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005673/1.13, allocations: 2.96 MB / 0.8301 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.13, allocations: 3.156 kB / 0.8301 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009797/1.131, allocations: 206 kB / 0.8303 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/1.131, allocations: 10.17 kB / 0.8303 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.437e-05/1.131, allocations: 32.33 kB / 0.8304 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/1.131, allocations: 8.953 kB / 0.8304 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.131, allocations: 7 kB / 0.8304 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004732/1.136, allocations: 2.283 MB / 0.8326 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/1.137, allocations: 354.9 kB / 0.833 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/1.137, allocations: 25.47 kB / 0.833 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.138, allocations: 152 kB / 0.8331 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.138, allocations: 68.94 kB / 0.8332 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/1.138, allocations: 43.31 kB / 0.8332 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001205/1.14, allocations: 0.7121 MB / 0.8339 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/1.14, allocations: 0 / 0.8339 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002492/1.142, allocations: 0.7932 MB / 0.8347 GB, free: 25.91 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.001389/1.144, allocations: 0.5066 MB / 0.8352 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00495/1.149, allocations: 2.246 MB / 0.8374 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.149, allocations: 4.062 kB / 0.8374 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/1.15, allocations: 0.7732 MB / 0.8382 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/1.153, allocations: 0.5234 MB / 0.8387 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/1.158, allocations: 2.94 MB / 0.8415 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/1.159, allocations: 1.157 MB / 0.8427 GB, free: 23.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001788/1.16, allocations: 353.4 kB / 0.843 GB, free: 23.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/1.161, allocations: 104.5 kB / 0.8431 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of SimCode: time 7.82e-07/1.161, allocations: 0 / 0.8431 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of Templates: time 0.04035/1.201, allocations: 25.56 MB / 0.8681 GB, free: 17.77 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)