Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009333/0.0009333, allocations: 99.55 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.0008956/0.0008957, 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.203/1.203, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8273/0.8273, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003471, allocations: 8.656 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 82.3 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.4052/0.5393, allocations: 175.7 MB / 0.7588 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.5525, allocations: 9.767 MB / 0.7683 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.554, allocations: 51.62 kB / 0.7684 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.5559, allocations: 0.7113 MB / 0.7691 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.5612, allocations: 2.255 MB / 0.7713 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004535/0.5658, allocations: 1.919 MB / 0.7731 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003399/0.5692, allocations: 2.19 MB / 0.7753 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.5705, allocations: 1.027 MB / 0.7763 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.5731, allocations: 1.476 MB / 0.7777 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009845/0.5741, allocations: 0.8128 MB / 0.7785 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.5743, allocations: 64 kB / 0.7786 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/0.5776, allocations: 1.989 MB / 0.7805 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.5779, allocations: 342.7 kB / 0.7808 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.5783, allocations: 344.8 kB / 0.7812 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.5807, allocations: 2.175 MB / 0.7833 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.5807, allocations: 0 / 0.7833 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.915e-06/0.5807, allocations: 3.984 kB / 0.7833 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.5807, allocations: 0 / 0.7833 GB, free: 3.711 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.004121/0.5848, allocations: 2.011 MB / 0.7853 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.5849, allocations: 8.031 kB / 0.7853 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002739/0.5876, allocations: 0.5949 MB / 0.7859 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.5898, allocations: 1.176 MB / 0.787 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006138/0.5904, allocations: 213.9 kB / 0.7872 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.5906, allocations: 108 kB / 0.7873 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.5931, allocations: 1.337 MB / 0.7886 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.5931, allocations: 0 / 0.7886 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.5932, allocations: 51.94 kB / 0.7887 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-05/0.5933, allocations: 41.98 kB / 0.7887 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002985/0.5963, allocations: 1.394 MB / 0.7901 GB, free: 12.63 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.00776/0.604, allocations: 5.341 MB / 0.7953 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.6064, allocations: 1.07 MB / 0.7963 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008135/0.6072, allocations: 0.6007 MB / 0.7969 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/0.6086, allocations: 0.6405 MB / 0.7975 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.946e-06/0.6086, allocations: 3.938 kB / 0.7975 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.004055/0.6126, allocations: 1.655 MB / 0.7992 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.6127, allocations: 64.06 kB / 0.7992 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.6142, allocations: 1.314 MB / 0.8005 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.6143, allocations: 49.7 kB / 0.8006 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/0.6148, allocations: 0.6426 MB / 0.8012 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.615, allocations: 276 kB / 0.8014 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.615, allocations: 20 kB / 0.8015 GB, free: 492 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6152, allocations: 353.9 kB / 0.8018 GB, free: 132 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.6164, allocations: 0.5218 MB / 0.8023 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.6179, allocations: 0.786 MB / 0.8031 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.6192, allocations: 0.6097 MB / 0.8037 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.6192, allocations: 0 / 0.8037 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003138/0.6224, allocations: 1.513 MB / 0.8052 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005694/0.623, allocations: 1.995 MB / 0.8071 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.623, allocations: 4 kB / 0.8071 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.623, allocations: 12 kB / 0.8071 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.6247, allocations: 360.9 kB / 0.8075 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005829/0.6253, allocations: 1.192 MB / 0.8086 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.6267, allocations: 234.7 kB / 0.8088 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.862e-05/0.6268, allocations: 55.97 kB / 0.8089 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.6269, allocations: 4 kB / 0.8089 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0029/0.6298, allocations: 1.364 MB / 0.8102 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6298, allocations: 8.031 kB / 0.8102 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.6298, allocations: 14.94 kB / 0.8103 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.6311, allocations: 323.5 kB / 0.8106 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.6312, allocations: 19.97 kB / 0.8106 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.6325, allocations: 218.8 kB / 0.8108 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.192e-05/0.6326, allocations: 51.97 kB / 0.8108 GB, free: 6.586 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.000601/0.6332, allocations: 415.8 kB / 0.8112 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.6334, allocations: 158.1 kB / 0.8114 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/0.6364, allocations: 1.366 MB / 0.8127 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.6365, allocations: 16 kB / 0.8127 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6365, allocations: 0 / 0.8127 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.6365, allocations: 7.922 kB / 0.8127 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004803/0.6413, allocations: 2.911 MB / 0.8156 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.6413, allocations: 8.094 kB / 0.8156 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.6424, allocations: 243.7 kB / 0.8158 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.6424, allocations: 8 kB / 0.8158 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/0.6425, allocations: 35.92 kB / 0.8159 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005147/0.643, allocations: 1.188 MB / 0.817 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.6431, allocations: 4 kB / 0.817 GB, free: 92 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/0.6474, allocations: 2.353 MB / 0.8193 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006421/0.648, allocations: 374.8 kB / 0.8197 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.6482, allocations: 20 kB / 0.8197 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6494, allocations: 135.8 kB / 0.8198 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.6495, allocations: 76.45 kB / 0.8199 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.191e-05/0.6496, allocations: 39.97 kB / 0.82 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001175/0.6508, allocations: 0.8782 MB / 0.8208 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6508, allocations: 0 / 0.8208 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001862/0.6527, allocations: 0.7841 MB / 0.8216 GB, free: 11.25 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.0009287/0.6536, allocations: 482.2 kB / 0.822 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004777/0.6584, allocations: 2.121 MB / 0.8241 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6584, allocations: 0 / 0.8241 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.6599, allocations: 0.6605 MB / 0.8248 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/0.6628, allocations: 0.683 MB / 0.8254 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.6674, allocations: 3.225 MB / 0.8286 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.6681, allocations: 1.258 MB / 0.8298 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001579/0.6697, allocations: 408.3 kB / 0.8302 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/0.67, allocations: 127.4 kB / 0.8303 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of SimCode: time 6.32e-07/0.67, allocations: 0 / 0.8303 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of Templates: time 0.04058/0.7106, allocations: 28.57 MB / 0.8582 GB, free: 5.973 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: