Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 92.62 kB / 15.7 MB, free: 472 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.0008768/0.000877, allocations: 171.1 kB / 16.58 MB, free: 6.062 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.341/1.341, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6971/0.6971, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003046, allocations: 8 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 77.53 MB / 0.5593 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.4325/0.5599, allocations: 192.4 MB / 0.7472 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.5744, allocations: 9.994 MB / 0.7569 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.576, allocations: 59.56 kB / 0.757 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.5777, allocations: 0.547 MB / 0.7575 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004883/0.5825, allocations: 1.851 MB / 0.7593 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004545/0.5871, allocations: 1.746 MB / 0.761 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004757/0.5919, allocations: 3.971 MB / 0.7649 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.5936, allocations: 0.9897 MB / 0.7659 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.5968, allocations: 1.536 MB / 0.7674 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.5986, allocations: 1.058 MB / 0.7684 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002796/0.5989, allocations: 63.94 kB / 0.7685 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00424/0.6031, allocations: 2.237 MB / 0.7707 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004985/0.6036, allocations: 362.5 kB / 0.771 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005334/0.6042, allocations: 344.8 kB / 0.7713 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002904/0.6071, allocations: 2.295 MB / 0.7736 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6071, allocations: 0 / 0.7736 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6071, allocations: 4 kB / 0.7736 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.895e-05/0.6072, allocations: 0 / 0.7736 GB, free: 11.77 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004543/0.6117, allocations: 2.038 MB / 0.7756 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.6118, allocations: 12.03 kB / 0.7756 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002882/0.6146, allocations: 0.5833 MB / 0.7761 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.6171, allocations: 1.2 MB / 0.7773 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006086/0.6178, allocations: 218.2 kB / 0.7775 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.618, allocations: 115.9 kB / 0.7776 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.6207, allocations: 1.345 MB / 0.7789 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.6208, allocations: 0 / 0.7789 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.6209, allocations: 36 kB / 0.779 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/0.621, allocations: 45.98 kB / 0.779 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003242/0.6242, allocations: 1.386 MB / 0.7804 GB, free: 4.656 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.00837/0.6326, allocations: 5.32 MB / 0.7856 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.635, allocations: 1.055 MB / 0.7866 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.6363, allocations: 0.5571 MB / 0.7872 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.6374, allocations: 0.7786 MB / 0.7879 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.6388, allocations: 0.6289 MB / 0.7885 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=81): time 3.155e-06/0.6389, allocations: 0 / 0.7885 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=81): time 0.004171/0.643, allocations: 1.648 MB / 0.7901 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.6431, allocations: 60.06 kB / 0.7902 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.6449, allocations: 1.318 MB / 0.7915 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.645, allocations: 49.7 kB / 0.7915 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/0.6456, allocations: 0.6465 MB / 0.7922 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.6458, allocations: 287.9 kB / 0.7924 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.6459, allocations: 20 kB / 0.7925 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6461, allocations: 345.9 kB / 0.7928 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.6474, allocations: 0.5101 MB / 0.7933 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.6489, allocations: 0.7721 MB / 0.794 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.6503, allocations: 0.598 MB / 0.7946 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.6503, allocations: 4 kB / 0.7946 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003366/0.6537, allocations: 1.501 MB / 0.7961 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.6539, allocations: 261.9 kB / 0.7963 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6539, allocations: 7.938 kB / 0.7963 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.6539, allocations: 11.95 kB / 0.7964 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.6557, allocations: 359.5 kB / 0.7967 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006799/0.6564, allocations: 1.192 MB / 0.7979 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.6579, allocations: 230 kB / 0.7981 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.658, allocations: 55.97 kB / 0.7981 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.6581, allocations: 11.95 kB / 0.7981 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003068/0.6611, allocations: 1.337 MB / 0.7995 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.6612, allocations: 4 kB / 0.7995 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6612, allocations: 12 kB / 0.7995 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.6626, allocations: 319.6 kB / 0.7998 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.6626, allocations: 12 kB / 0.7998 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.664, allocations: 222.8 kB / 0.8 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.6642, allocations: 51.97 kB / 0.8 GB, free: 15.75 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006017/0.6648, allocations: 412.2 kB / 0.8004 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.665, allocations: 162 kB / 0.8006 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/0.6683, allocations: 1.351 MB / 0.8019 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.6683, allocations: 19.98 kB / 0.8019 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6683, allocations: 0 / 0.8019 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.6683, allocations: 3.984 kB / 0.8019 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.6736, allocations: 2.882 MB / 0.8047 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.6736, allocations: 4.469 kB / 0.8048 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.6748, allocations: 251.6 kB / 0.805 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.6748, allocations: 7.953 kB / 0.805 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.284e-05/0.6749, allocations: 31.98 kB / 0.805 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005783/0.6755, allocations: 1.191 MB / 0.8062 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.6755, allocations: 7.938 kB / 0.8062 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004339/0.6798, allocations: 2.112 MB / 0.8083 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.6804, allocations: 370.8 kB / 0.8086 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.6807, allocations: 20 kB / 0.8086 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.6819, allocations: 164.2 kB / 0.8088 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.6821, allocations: 76.52 kB / 0.8089 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.692e-05/0.6822, allocations: 39.97 kB / 0.8089 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001269/0.6835, allocations: 0.8783 MB / 0.8098 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6835, allocations: 0 / 0.8098 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001983/0.6854, allocations: 0.7879 MB / 0.8105 GB, free: 4.766 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/0.6865, allocations: 470.1 kB / 0.811 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004937/0.6914, allocations: 2.093 MB / 0.813 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6915, allocations: 0.875 kB / 0.813 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.693, allocations: 0.6563 MB / 0.8137 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/0.6962, allocations: 0.7079 MB / 0.8144 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/0.7015, allocations: 3.214 MB / 0.8175 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000816/0.7023, allocations: 1.223 MB / 0.8187 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001846/0.7042, allocations: 409.8 kB / 0.8191 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.7046, allocations: 123.4 kB / 0.8192 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of SimCode: time 3.51e-07/0.7046, allocations: 0 / 0.8192 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of Templates: time 0.269/0.9736, allocations: 28.54 MB / 0.8471 GB, free: 226.1 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)