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/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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7245/0.7245, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.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.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009736/0.0009736, allocations: 102.9 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.718e-05/4.73e-05, allocations: 3.156 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1743, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.393/5.568, allocations: 2.149 GB / 2.789 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/5.568, allocations: 87.27 kB / 2.789 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.915/9.484, allocations: 0.9547 GB / 3.744 GB, free: 84.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/9.484, allocations: 0 / 3.744 GB, free: 84.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002778/9.484, allocations: 44.7 kB / 3.744 GB, free: 84.47 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.007006/9.491, allocations: 2.091 MB / 3.746 GB, free: 83.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/9.491, allocations: 15.38 kB / 3.746 GB, free: 83.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005073/9.491, allocations: 147.9 kB / 3.746 GB, free: 83.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/9.495, allocations: 0.5477 MB / 3.747 GB, free: 83.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/9.499, allocations: 1.357 MB / 3.748 GB, free: 82.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007115/9.5, allocations: 227.9 kB / 3.748 GB, free: 82.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004211/9.501, allocations: 110.1 kB / 3.749 GB, free: 82.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/9.503, allocations: 1.202 MB / 3.75 GB, free: 82.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/9.503, allocations: 2.094 kB / 3.75 GB, free: 82.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/9.504, allocations: 37.47 kB / 3.75 GB, free: 82.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/9.504, allocations: 45.67 kB / 3.75 GB, free: 82.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/9.506, allocations: 1.039 MB / 3.751 GB, free: 82.55 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.01011/9.516, allocations: 5.523 MB / 3.756 GB, free: 80.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/9.517, allocations: 0.7903 MB / 3.757 GB, free: 80.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005895/9.517, allocations: 431.1 kB / 3.757 GB, free: 80.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008916/9.518, allocations: 0.7464 MB / 3.758 GB, free: 79.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008152/9.519, allocations: 0.5159 MB / 3.759 GB, free: 79.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.297e-06/9.519, allocations: 0 / 3.759 GB, free: 79.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002067/9.521, allocations: 0.9451 MB / 3.76 GB, free: 78.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/9.521, allocations: 114.9 kB / 3.76 GB, free: 78.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/9.523, allocations: 1.135 MB / 3.761 GB, free: 77.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/9.523, allocations: 44.7 kB / 3.761 GB, free: 77.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005619/9.524, allocations: 0.6396 MB / 3.761 GB, free: 77.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/9.524, allocations: 286.7 kB / 3.762 GB, free: 77.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/9.524, allocations: 19.59 kB / 3.762 GB, free: 77.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/9.524, allocations: 356.9 kB / 3.762 GB, free: 76.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/9.525, allocations: 394.8 kB / 3.762 GB, free: 76.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/9.526, allocations: 0.699 MB / 3.763 GB, free: 75.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007832/9.527, allocations: 479.7 kB / 3.764 GB, free: 75.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/9.527, allocations: 4 kB / 3.764 GB, free: 75.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002183/9.529, allocations: 1.238 MB / 3.765 GB, free: 75.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004378/9.529, allocations: 1.911 MB / 3.767 GB, free: 73.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/9.529, allocations: 3.938 kB / 3.767 GB, free: 73.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.263e-05/9.529, allocations: 11.84 kB / 3.767 GB, free: 73.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/9.531, allocations: 347.5 kB / 3.767 GB, free: 73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005577/9.532, allocations: 1.201 MB / 3.768 GB, free: 71.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/9.534, allocations: 243.5 kB / 3.768 GB, free: 71.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/9.534, allocations: 63.3 kB / 3.768 GB, free: 71.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/9.534, allocations: 7.922 kB / 3.768 GB, free: 71.63 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002039/9.536, allocations: 1.093 MB / 3.77 GB, free: 71.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/9.536, allocations: 7.688 kB / 3.77 GB, free: 71.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/9.536, allocations: 11.19 kB / 3.77 GB, free: 71.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/9.538, allocations: 330.1 kB / 3.77 GB, free: 71.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/9.538, allocations: 16.97 kB / 3.77 GB, free: 71.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/9.54, allocations: 232.7 kB / 3.77 GB, free: 70.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/9.54, allocations: 53.25 kB / 3.77 GB, free: 70.87 MB / 0.698 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 () * 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.0003697/9.541, allocations: 175.7 kB / 3.77 GB, free: 70.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/9.541, allocations: 153 kB / 3.77 GB, free: 70.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/9.543, allocations: 1.116 MB / 3.772 GB, free: 70.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/9.543, allocations: 13.36 kB / 3.772 GB, free: 70.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/9.543, allocations: 0 / 3.772 GB, free: 70.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/9.543, allocations: 3.984 kB / 3.772 GB, free: 70.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004645/9.548, allocations: 2.66 MB / 3.774 GB, free: 68.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/9.548, allocations: 4.438 kB / 3.774 GB, free: 68.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/9.549, allocations: 251.6 kB / 3.774 GB, free: 67.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/9.549, allocations: 8 kB / 3.774 GB, free: 67.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.881e-05/9.549, allocations: 31.97 kB / 3.774 GB, free: 67.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004065/9.55, allocations: 1.191 MB / 3.776 GB, free: 66.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/9.55, allocations: 4 kB / 3.776 GB, free: 66.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/9.552, allocations: 1.95 MB / 3.778 GB, free: 64.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007584/9.553, allocations: 378.8 kB / 3.778 GB, free: 64.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/9.553, allocations: 23.94 kB / 3.778 GB, free: 63.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/9.555, allocations: 143.9 kB / 3.778 GB, free: 63.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/9.555, allocations: 76.64 kB / 3.778 GB, free: 63.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.116e-05/9.555, allocations: 35.97 kB / 3.778 GB, free: 63.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001186/9.556, allocations: 0.8696 MB / 3.779 GB, free: 62.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/9.556, allocations: 3.938 kB / 3.779 GB, free: 62.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003288/9.56, allocations: 0.991 MB / 3.78 GB, free: 61.88 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.006296/9.566, allocations: 5.41 MB / 3.785 GB, free: 56.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003063/9.569, allocations: 1.764 MB / 3.787 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/9.569, allocations: 5.812 kB / 3.787 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008799/9.57, allocations: 0.5283 MB / 3.787 GB, free: 54.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/9.573, allocations: 0.6699 MB / 3.788 GB, free: 53.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/9.579, allocations: 2.45 MB / 3.791 GB, free: 50.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/9.58, allocations: 1.265 MB / 3.792 GB, free: 49.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00269/9.583, allocations: 0.5102 MB / 3.792 GB, free: 49.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/9.583, allocations: 0.5578 MB / 3.793 GB, free: 48.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/9.583, allocations: 0 / 3.793 GB, free: 48.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6349/10.22, allocations: 74.35 MB / 3.865 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/10.22, allocations: 233.6 kB / 3.866 GB, free: 102 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.94/15.16, allocations: 8.281 kB / 3.866 GB, free: 102 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)