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.001166/0.001166, allocations: 93.59 kB / 16.66 MB, free: 5.859 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.001443/0.001443, allocations: 176.7 kB / 17.57 MB, free: 5.543 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.424/1.424, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7307/0.7307, allocations: 115.5 MB / 408.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.415, allocations: 77.52 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.5962/1.011, allocations: 201.8 MB / 0.7576 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0237/1.035, allocations: 13.65 MB / 0.771 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003395/1.038, allocations: 48.41 kB / 0.771 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002972/1.041, allocations: 0.653 MB / 0.7717 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007786/1.049, allocations: 2.068 MB / 0.7737 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006527/1.056, allocations: 1.841 MB / 0.7755 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006538/1.062, allocations: 4.162 MB / 0.7795 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/1.065, allocations: 0.9772 MB / 0.7805 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006462/1.071, allocations: 1.617 MB / 0.7821 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003272/1.074, allocations: 1.011 MB / 0.7831 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006069/1.075, allocations: 55.16 kB / 0.7831 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009686/1.085, allocations: 3.186 MB / 0.7862 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001169/1.086, allocations: 350.8 kB / 0.7866 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002884/1.089, allocations: 0.722 MB / 0.7873 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005148/1.094, allocations: 2.232 MB / 0.7894 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/1.094, allocations: 0 / 0.7894 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.584e-06/1.094, allocations: 1.75 kB / 0.7894 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.859e-05/1.094, allocations: 0 / 0.7894 GB, free: 17.33 MB / 0.5919 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.005656/1.1, allocations: 1.829 MB / 0.7912 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.1, allocations: 8.906 kB / 0.7912 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/1.103, allocations: 0.5573 MB / 0.7918 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002798/1.106, allocations: 1.102 MB / 0.7929 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007204/1.107, allocations: 202.3 kB / 0.793 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004046/1.107, allocations: 95.97 kB / 0.7931 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/1.11, allocations: 1.28 MB / 0.7944 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/1.11, allocations: 0 / 0.7944 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/1.111, allocations: 41.8 kB / 0.7944 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.648e-05/1.111, allocations: 40.72 kB / 0.7945 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003239/1.114, allocations: 1.324 MB / 0.7958 GB, free: 15.6 MB / 0.5919 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.008866/1.123, allocations: 4.895 MB / 0.8005 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/1.125, allocations: 1.024 MB / 0.8015 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/1.127, allocations: 0.5829 MB / 0.8021 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/1.128, allocations: 0.8676 MB / 0.803 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/1.129, allocations: 0.7045 MB / 0.8036 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 3.577e-06/1.13, allocations: 0 / 0.8036 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.004568/1.134, allocations: 1.776 MB / 0.8054 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/1.134, allocations: 122.6 kB / 0.8055 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/1.136, allocations: 1.046 MB / 0.8065 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/1.136, allocations: 44.95 kB / 0.8066 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/1.137, allocations: 0.5268 MB / 0.8071 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/1.137, allocations: 275 kB / 0.8073 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/1.137, allocations: 83.61 kB / 0.8074 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.137, allocations: 344.9 kB / 0.8077 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/1.139, allocations: 0.5066 MB / 0.8082 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/1.14, allocations: 0.6992 MB / 0.8089 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/1.143, allocations: 1.216 MB / 0.8101 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.143, allocations: 4 kB / 0.8101 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003565/1.146, allocations: 1.489 MB / 0.8116 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/1.147, allocations: 228.7 kB / 0.8118 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.147, allocations: 3.344 kB / 0.8118 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/1.147, allocations: 7.109 kB / 0.8118 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/1.148, allocations: 263.5 kB / 0.812 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/1.148, allocations: 6.469 kB / 0.8121 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/1.15, allocations: 209.2 kB / 0.8123 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/1.15, allocations: 44.81 kB / 0.8123 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/1.15, allocations: 5.406 kB / 0.8123 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003386/1.153, allocations: 1.405 MB / 0.8137 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.153, allocations: 3.938 kB / 0.8137 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/1.153, allocations: 10.41 kB / 0.8137 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.155, allocations: 262.7 kB / 0.8139 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/1.155, allocations: 8.469 kB / 0.8139 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/1.156, allocations: 194.2 kB / 0.8141 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/1.156, allocations: 42.23 kB / 0.8142 GB, free: 8.867 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 (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.0009294/1.157, allocations: 468.9 kB / 0.8146 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004614/1.158, allocations: 136.4 kB / 0.8147 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/1.161, allocations: 1.51 MB / 0.8162 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/1.161, allocations: 7.062 kB / 0.8162 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.161, allocations: 2.531 kB / 0.8162 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/1.161, allocations: 3.984 kB / 0.8162 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00587/1.167, allocations: 2.961 MB / 0.8191 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.167, allocations: 3.312 kB / 0.8191 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009562/1.168, allocations: 207.8 kB / 0.8193 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/1.168, allocations: 7.406 kB / 0.8193 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/1.168, allocations: 38.09 kB / 0.8194 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.247e-05/1.168, allocations: 5.25 kB / 0.8194 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.168, allocations: 8.406 kB / 0.8194 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004652/1.173, allocations: 2.278 MB / 0.8216 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007422/1.174, allocations: 344 kB / 0.8219 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/1.174, allocations: 34.09 kB / 0.822 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.176, allocations: 157.6 kB / 0.8221 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/1.176, allocations: 59.59 kB / 0.8222 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.176, allocations: 44.31 kB / 0.8222 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00128/1.177, allocations: 0.713 MB / 0.8229 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.177, allocations: 1.75 kB / 0.8229 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002657/1.18, allocations: 0.7983 MB / 0.8237 GB, free: 5.629 MB / 0.5919 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.00149/1.181, allocations: 0.5101 MB / 0.8242 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004838/1.186, allocations: 2.251 MB / 0.8264 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.186, allocations: 0 / 0.8264 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/1.188, allocations: 0.7795 MB / 0.8272 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00373/1.191, allocations: 0.5217 MB / 0.8277 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005523/1.197, allocations: 2.983 MB / 0.8306 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008616/1.198, allocations: 1.148 MB / 0.8317 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/1.198, allocations: 120.8 kB / 0.8318 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/1.198, allocations: 4 kB / 0.8318 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of Templates: time 0.0372/1.236, allocations: 22.6 MB / 0.8539 GB, free: 10.35 MB / 0.6231 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)