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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002474/0.002474, allocations: 174.3 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8162/0.8162, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000927/0.0009269, allocations: 103.3 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.778e-05/1.782e-05, allocations: 4 kB / 0.5535 GB, free: 9.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4931, allocations: 82.31 MB / 0.6338 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.268/5.761, allocations: 2.148 GB / 2.782 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/5.762, allocations: 87.7 kB / 2.782 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.313/10.07, allocations: 0.9466 GB / 3.729 GB, free: 87.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.484e-06/10.07, allocations: 3.625 kB / 3.729 GB, free: 87.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003262/10.07, allocations: 40.84 kB / 3.729 GB, free: 87.64 MB / 0.698 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.00838/10.08, allocations: 2.087 MB / 3.731 GB, free: 86.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/10.08, allocations: 14.47 kB / 3.731 GB, free: 86.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003644/10.09, allocations: 0.552 MB / 3.731 GB, free: 86.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00487/10.09, allocations: 1.351 MB / 3.733 GB, free: 86.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006518/10.09, allocations: 180.1 kB / 3.733 GB, free: 86.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000486/10.09, allocations: 65.44 kB / 3.733 GB, free: 86.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002326/10.1, allocations: 0.941 MB / 3.734 GB, free: 86.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/10.1, allocations: 1.056 MB / 3.735 GB, free: 86.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/10.1, allocations: 5.094 kB / 3.735 GB, free: 86.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/10.1, allocations: 2.5 kB / 3.735 GB, free: 86.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.598e-05/10.1, allocations: 49.75 kB / 3.735 GB, free: 86.22 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.01116/10.11, allocations: 5.29 MB / 3.74 GB, free: 84.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/10.11, allocations: 0.7547 MB / 3.741 GB, free: 84.17 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/10.11, allocations: 401.2 kB / 3.741 GB, free: 84.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009816/10.11, allocations: 0.7504 MB / 3.742 GB, free: 83.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008309/10.11, allocations: 0.4957 MB / 3.742 GB, free: 83.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.987e-06/10.11, allocations: 0 / 3.742 GB, free: 83.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002652/10.12, allocations: 0.9522 MB / 3.743 GB, free: 83.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/10.12, allocations: 114.2 kB / 3.743 GB, free: 83.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/10.12, allocations: 0.9012 MB / 3.744 GB, free: 82.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/10.12, allocations: 25.7 kB / 3.744 GB, free: 82.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007585/10.12, allocations: 0.6467 MB / 3.745 GB, free: 82.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/10.12, allocations: 276.7 kB / 3.745 GB, free: 82.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/10.12, allocations: 0 / 3.745 GB, free: 82.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001057/10.12, allocations: 347 kB / 3.745 GB, free: 82.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006077/10.12, allocations: 382.8 kB / 3.746 GB, free: 82.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008446/10.12, allocations: 0.6778 MB / 3.747 GB, free: 81.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/10.12, allocations: 0.4952 MB / 3.747 GB, free: 81.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/10.12, allocations: 3 kB / 3.747 GB, free: 81.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002728/10.12, allocations: 1.2 MB / 3.748 GB, free: 81.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006162/10.13, allocations: 2.061 MB / 3.75 GB, free: 79.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/10.13, allocations: 8.906 kB / 3.75 GB, free: 79.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.695e-05/10.13, allocations: 9.219 kB / 3.75 GB, free: 79.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/10.13, allocations: 361.9 kB / 3.751 GB, free: 79.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006661/10.13, allocations: 1.205 MB / 3.752 GB, free: 78.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/10.13, allocations: 199.3 kB / 3.752 GB, free: 78.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/10.13, allocations: 57.47 kB / 3.752 GB, free: 78.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/10.13, allocations: 5.719 kB / 3.752 GB, free: 78.41 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002177/10.13, allocations: 1.03 MB / 3.753 GB, free: 78.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/10.13, allocations: 7.406 kB / 3.753 GB, free: 78.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/10.13, allocations: 23.97 kB / 3.753 GB, free: 78.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/10.13, allocations: 331.9 kB / 3.753 GB, free: 78.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/10.13, allocations: 14.66 kB / 3.753 GB, free: 78.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/10.14, allocations: 184.2 kB / 3.754 GB, free: 78.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/10.14, allocations: 53.12 kB / 3.754 GB, free: 78.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * 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.0004296/10.14, allocations: 137.8 kB / 3.754 GB, free: 78.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006537/10.14, allocations: 142.1 kB / 3.754 GB, free: 78.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/10.14, allocations: 1.099 MB / 3.755 GB, free: 78.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/10.14, allocations: 6.375 kB / 3.755 GB, free: 78.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/10.14, allocations: 0 / 3.755 GB, free: 78.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/10.14, allocations: 10.38 kB / 3.755 GB, free: 78.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00546/10.15, allocations: 2.505 MB / 3.757 GB, free: 77.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/10.15, allocations: 3.531 kB / 3.757 GB, free: 77.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/10.15, allocations: 251.9 kB / 3.758 GB, free: 77.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.488e-05/10.15, allocations: 12.72 kB / 3.758 GB, free: 77.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-05/10.15, allocations: 26.48 kB / 3.758 GB, free: 77.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004928/10.15, allocations: 1.19 MB / 3.759 GB, free: 76.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/10.15, allocations: 3.906 kB / 3.759 GB, free: 76.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/10.15, allocations: 1.91 MB / 3.761 GB, free: 75.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009584/10.15, allocations: 357.3 kB / 3.761 GB, free: 75.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/10.15, allocations: 11.45 kB / 3.761 GB, free: 75.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/10.15, allocations: 136.9 kB / 3.761 GB, free: 75.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/10.15, allocations: 78.16 kB / 3.761 GB, free: 75.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/10.15, allocations: 39.2 kB / 3.761 GB, free: 75.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001314/10.16, allocations: 0.669 MB / 3.762 GB, free: 75.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/10.16, allocations: 0 / 3.762 GB, free: 75.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004249/10.16, allocations: 0.9421 MB / 3.763 GB, free: 75.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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) * 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.004889/10.16, allocations: 2.272 MB / 3.765 GB, free: 74.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003881/10.17, allocations: 1.683 MB / 3.767 GB, free: 74.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/10.17, allocations: 2.531 kB / 3.767 GB, free: 74.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/10.17, allocations: 0.5068 MB / 3.767 GB, free: 74.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/10.17, allocations: 0.5038 MB / 3.768 GB, free: 74.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/10.18, allocations: 1.985 MB / 3.77 GB, free: 73.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/10.18, allocations: 1.26 MB / 3.771 GB, free: 73.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003126/10.18, allocations: 457 kB / 3.771 GB, free: 73.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/10.18, allocations: 100.9 kB / 3.771 GB, free: 73.23 MB / 0.698 GB Notification: Performance of SimCode: time 1.423e-06/10.18, allocations: 0 / 3.771 GB, free: 73.23 MB / 0.698 GB Notification: Performance of Templates: time 0.0675/10.25, allocations: 35.2 MB / 3.806 GB, free: 71.4 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (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)