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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 99.47 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.002485/0.002485, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.928/2.928, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 2.003/2.003, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005934/0.0005936, allocations: 19.98 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3132, allocations: 82.3 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 1.107/1.42, allocations: 175.7 MB / 0.7589 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03476/1.455, allocations: 9.761 MB / 0.7684 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004851/1.46, allocations: 47.62 kB / 0.7685 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009952/1.47, allocations: 0.7113 MB / 0.7692 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.02166/1.491, allocations: 2.255 MB / 0.7714 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01487/1.506, allocations: 1.91 MB / 0.7732 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009441/1.516, allocations: 2.201 MB / 0.7754 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004143/1.52, allocations: 1.027 MB / 0.7764 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01211/1.532, allocations: 1.472 MB / 0.7778 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003117/1.535, allocations: 0.8051 MB / 0.7786 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008076/1.536, allocations: 60 kB / 0.7787 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0122/1.549, allocations: 1.997 MB / 0.7806 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001889/1.551, allocations: 338.7 kB / 0.7809 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/1.552, allocations: 352.8 kB / 0.7813 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/1.564, allocations: 2.176 MB / 0.7834 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.564, allocations: 0 / 0.7834 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.877e-06/1.564, allocations: 0 / 0.7834 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001018/1.564, allocations: 0 / 0.7834 GB, free: 3.66 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.01147/1.576, allocations: 2.011 MB / 0.7854 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.033e-05/1.576, allocations: 16.02 kB / 0.7854 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007812/1.577, allocations: 148.2 kB / 0.7855 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005781/1.582, allocations: 0.5833 MB / 0.7861 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005465/1.588, allocations: 1.172 MB / 0.7872 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001322/1.589, allocations: 221.8 kB / 0.7874 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007854/1.59, allocations: 112 kB / 0.7875 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006198/1.596, allocations: 1.345 MB / 0.7889 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/1.596, allocations: 0 / 0.7889 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/1.597, allocations: 51.92 kB / 0.7889 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.865e-05/1.597, allocations: 38 kB / 0.7889 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006265/1.603, allocations: 1.397 MB / 0.7903 GB, free: 12.42 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.01858/1.622, allocations: 5.34 MB / 0.7955 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008918/1.631, allocations: 1.078 MB / 0.7966 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/1.632, allocations: 0.6007 MB / 0.7972 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003032/1.635, allocations: 0.6367 MB / 0.7978 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 6.793e-06/1.635, allocations: 0 / 0.7978 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.0125/1.648, allocations: 1.652 MB / 0.7994 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/1.648, allocations: 71.98 kB / 0.7995 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004006/1.652, allocations: 1.31 MB / 0.8007 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004162/1.653, allocations: 45.7 kB / 0.8008 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/1.654, allocations: 0.6427 MB / 0.8014 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006615/1.654, allocations: 283.9 kB / 0.8017 GB, free: 292 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/1.655, allocations: 20 kB / 0.8017 GB, free: 272 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002577/1.655, allocations: 349.9 kB / 0.802 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007258/1.662, allocations: 0.514 MB / 0.8025 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/1.666, allocations: 0.7971 MB / 0.8033 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/1.669, allocations: 0.598 MB / 0.8039 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/1.669, allocations: 0 / 0.8039 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.009976/1.679, allocations: 1.524 MB / 0.8054 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.001154/1.681, allocations: 1.98 MB / 0.8073 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/1.681, allocations: 8 kB / 0.8073 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.917e-05/1.681, allocations: 15.98 kB / 0.8073 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/1.684, allocations: 356.5 kB / 0.8077 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/1.686, allocations: 1.199 MB / 0.8089 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004685/1.69, allocations: 235.5 kB / 0.8091 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003846/1.691, allocations: 59.97 kB / 0.8091 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.691, allocations: 10.12 kB / 0.8092 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005276/1.696, allocations: 1.356 MB / 0.8105 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/1.696, allocations: 4 kB / 0.8105 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.696, allocations: 12 kB / 0.8105 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/1.699, allocations: 331.7 kB / 0.8108 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.188e-05/1.699, allocations: 11.94 kB / 0.8108 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/1.702, allocations: 226.8 kB / 0.811 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003271/1.702, allocations: 51.97 kB / 0.8111 GB, free: 6.371 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.001741/1.704, allocations: 409.4 kB / 0.8115 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009308/1.705, allocations: 154.1 kB / 0.8116 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00583/1.711, allocations: 1.375 MB / 0.813 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/1.711, allocations: 15.98 kB / 0.813 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.711, allocations: 0 / 0.813 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/1.711, allocations: 3.984 kB / 0.813 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009531/1.72, allocations: 2.915 MB / 0.8158 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/1.721, allocations: 4 kB / 0.8158 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.722, allocations: 244.1 kB / 0.8161 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.543e-05/1.722, allocations: 8 kB / 0.8161 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/1.723, allocations: 31.97 kB / 0.8161 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/1.724, allocations: 1.184 MB / 0.8173 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.421e-05/1.724, allocations: 11.89 kB / 0.8173 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007768/1.731, allocations: 2.349 MB / 0.8196 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/1.733, allocations: 370.8 kB / 0.8199 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008148/1.734, allocations: 24 kB / 0.8199 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002687/1.737, allocations: 135.8 kB / 0.8201 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/1.737, allocations: 80.45 kB / 0.8201 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001941/1.737, allocations: 39.91 kB / 0.8202 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002772/1.74, allocations: 0.8782 MB / 0.821 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.71e-07/1.74, allocations: 0 / 0.821 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004861/1.745, allocations: 0.7879 MB / 0.8218 GB, free: 11.04 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.01115/1.756, allocations: 4.236 MB / 0.826 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.767, allocations: 2.138 MB / 0.828 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/1.767, allocations: 0 / 0.828 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003531/1.771, allocations: 0.6649 MB / 0.8287 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006643/1.777, allocations: 0.671 MB / 0.8293 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/1.796, allocations: 7.219 MB / 0.8364 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006104/1.802, allocations: 1.258 MB / 0.8376 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004989/1.807, allocations: 413.7 kB / 0.838 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002119/1.809, allocations: 0.5657 MB / 0.8386 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of SimCode: time 2.104e-06/1.809, allocations: 0 / 0.8386 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.76/2.569, allocations: 41.36 MB / 0.879 GB, free: 213.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003844/2.57, allocations: 262.2 kB / 0.8792 GB, free: 213 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/9.511, allocations: 0 / 0.8792 GB, free: 213 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: