Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008727/0.0008726, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000915/0.0009149, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8505/0.8505, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.0002911, allocations: 8 kB / 0.5068 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 82.31 MB / 0.5872 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.4033/0.5472, allocations: 175.7 MB / 0.7588 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.5622, allocations: 9.763 MB / 0.7683 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.564, allocations: 51.62 kB / 0.7684 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.566, allocations: 0.7113 MB / 0.7691 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005715/0.5717, allocations: 2.251 MB / 0.7713 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004855/0.5766, allocations: 1.928 MB / 0.7732 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003646/0.5802, allocations: 2.187 MB / 0.7753 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.5816, allocations: 1.024 MB / 0.7763 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.5844, allocations: 1.472 MB / 0.7777 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009979/0.5854, allocations: 0.8051 MB / 0.7785 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.5855, allocations: 64 kB / 0.7786 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003526/0.5891, allocations: 1.993 MB / 0.7805 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003927/0.5895, allocations: 346.7 kB / 0.7809 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003385/0.5898, allocations: 340.8 kB / 0.7812 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.5922, allocations: 2.182 MB / 0.7833 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.5922, allocations: 0 / 0.7833 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5922, allocations: 0 / 0.7833 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.5923, allocations: 0 / 0.7833 GB, free: 3.672 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.004168/0.5964, allocations: 2.011 MB / 0.7853 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5965, allocations: 8.031 kB / 0.7853 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002753/0.5992, allocations: 0.591 MB / 0.7859 GB, free: 1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.6014, allocations: 1.176 MB / 0.787 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006259/0.6021, allocations: 213.9 kB / 0.7872 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.6023, allocations: 112 kB / 0.7873 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.6048, allocations: 1.337 MB / 0.7886 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.6048, allocations: 3.938 kB / 0.7886 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.605, allocations: 47.95 kB / 0.7887 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.605, allocations: 45.98 kB / 0.7887 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.6081, allocations: 1.386 MB / 0.7901 GB, free: 12.6 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.00794/0.616, allocations: 5.346 MB / 0.7953 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.6184, allocations: 1.077 MB / 0.7963 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008563/0.6193, allocations: 0.6007 MB / 0.7969 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/0.6207, allocations: 0.638 MB / 0.7976 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.806e-06/0.6207, allocations: 0 / 0.7976 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.004156/0.6249, allocations: 1.659 MB / 0.7992 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.625, allocations: 64.06 kB / 0.7992 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.6265, allocations: 1.314 MB / 0.8005 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.6266, allocations: 49.7 kB / 0.8006 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.6272, allocations: 0.6427 MB / 0.8012 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.6274, allocations: 275.9 kB / 0.8015 GB, free: 468 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/0.6275, allocations: 20 kB / 0.8015 GB, free: 448 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6276, allocations: 349.9 kB / 0.8018 GB, free: 92 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.6289, allocations: 0.5179 MB / 0.8023 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.6304, allocations: 0.7977 MB / 0.8031 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.6317, allocations: 0.6019 MB / 0.8037 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6317, allocations: 0 / 0.8037 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003262/0.635, allocations: 1.516 MB / 0.8052 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006658/0.6357, allocations: 1.991 MB / 0.8071 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6357, allocations: 4 kB / 0.8071 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.6357, allocations: 12 kB / 0.8071 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.6374, allocations: 360.5 kB / 0.8075 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006399/0.6381, allocations: 1.188 MB / 0.8086 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.6396, allocations: 242.8 kB / 0.8089 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.6397, allocations: 51.97 kB / 0.8089 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.6397, allocations: 4 kB / 0.8089 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002928/0.6426, allocations: 1.36 MB / 0.8102 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.6427, allocations: 4.547 kB / 0.8102 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.6427, allocations: 12.19 kB / 0.8103 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.644, allocations: 327.5 kB / 0.8106 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.6441, allocations: 15.92 kB / 0.8106 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.6455, allocations: 230.5 kB / 0.8108 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.6456, allocations: 51.97 kB / 0.8109 GB, free: 6.547 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (133): * Single equations (assignments): 130 * 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.0006263/0.6462, allocations: 406.9 kB / 0.8112 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.6464, allocations: 162.1 kB / 0.8114 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.6495, allocations: 1.379 MB / 0.8127 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.6496, allocations: 11.94 kB / 0.8128 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6496, allocations: 0 / 0.8128 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.6496, allocations: 7.984 kB / 0.8128 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005023/0.6546, allocations: 2.908 MB / 0.8156 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.6546, allocations: 4 kB / 0.8156 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.6558, allocations: 244.2 kB / 0.8158 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.6558, allocations: 8 kB / 0.8158 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/0.6559, allocations: 35.92 kB / 0.8159 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000553/0.6564, allocations: 1.188 MB / 0.817 GB, free: 56 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.6565, allocations: 7.938 kB / 0.817 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004416/0.6609, allocations: 2.349 MB / 0.8193 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006658/0.6616, allocations: 374.8 kB / 0.8197 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.6618, allocations: 20 kB / 0.8197 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.6629, allocations: 140 kB / 0.8198 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.6631, allocations: 76.45 kB / 0.8199 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.6632, allocations: 43.95 kB / 0.82 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001189/0.6644, allocations: 0.8782 MB / 0.8208 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6644, allocations: 0 / 0.8208 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002078/0.6664, allocations: 0.7879 MB / 0.8216 GB, free: 11.2 MB / 0.6387 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: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001128/0.6676, allocations: 481.9 kB / 0.8221 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005033/0.6726, allocations: 2.117 MB / 0.8241 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6726, allocations: 3.938 kB / 0.8241 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.6742, allocations: 0.6643 MB / 0.8248 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/0.6772, allocations: 0.6721 MB / 0.8254 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.6822, allocations: 3.225 MB / 0.8286 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007311/0.683, allocations: 1.258 MB / 0.8298 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001675/0.6846, allocations: 410.8 kB / 0.8302 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.685, allocations: 123.4 kB / 0.8303 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.685, allocations: 0 / 0.8303 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of Templates: time 0.04205/0.7271, allocations: 28.56 MB / 0.8582 GB, free: 5.949 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: