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.007578/0.007579, allocations: 171.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7426/0.7426, allocations: 135.2 MB / 151 MB, free: 13.8 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.411/1.411, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001052/0.001052, allocations: 92.2 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 12 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4649, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.821/5.286, allocations: 2.149 GB / 2.798 GB, free: 41.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/5.287, allocations: 90.22 kB / 2.798 GB, free: 41.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.584/8.871, allocations: 0.9563 GB / 3.755 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.234e-06/8.871, allocations: 0 / 3.755 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001741/8.871, allocations: 50.91 kB / 3.755 GB, free: 101.5 MB / 0.7136 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.007398/8.879, allocations: 2.379 MB / 3.757 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/8.879, allocations: 10.38 kB / 3.757 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003378/8.879, allocations: 150.5 kB / 3.757 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/8.882, allocations: 0.5518 MB / 3.758 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/8.886, allocations: 1.376 MB / 3.759 GB, free: 99.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006186/8.886, allocations: 222.6 kB / 3.759 GB, free: 99.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/8.886, allocations: 112.7 kB / 3.759 GB, free: 99.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/8.889, allocations: 1.377 MB / 3.761 GB, free: 99.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/8.889, allocations: 1.969 kB / 3.761 GB, free: 99.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/8.889, allocations: 37.84 kB / 3.761 GB, free: 99.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-05/8.889, allocations: 44.94 kB / 3.761 GB, free: 99.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/8.892, allocations: 1.359 MB / 3.762 GB, free: 99.54 MB / 0.7136 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.008976/8.901, allocations: 5.52 MB / 3.768 GB, free: 97.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/8.904, allocations: 1.15 MB / 3.769 GB, free: 97.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008643/8.905, allocations: 0.7524 MB / 3.769 GB, free: 96.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/8.906, allocations: 0.6636 MB / 3.77 GB, free: 96.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.015e-06/8.906, allocations: 0 / 3.77 GB, free: 96.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.004298/8.91, allocations: 1.732 MB / 3.772 GB, free: 96.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/8.91, allocations: 113.2 kB / 3.772 GB, free: 96.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/8.912, allocations: 1.165 MB / 3.773 GB, free: 96.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/8.912, allocations: 52.27 kB / 3.773 GB, free: 96.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/8.913, allocations: 0.6328 MB / 3.774 GB, free: 95.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/8.913, allocations: 287.2 kB / 3.774 GB, free: 95.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/8.913, allocations: 19.72 kB / 3.774 GB, free: 95.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.146e-05/8.913, allocations: 349.7 kB / 3.774 GB, free: 95.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/8.914, allocations: 0.5535 MB / 3.775 GB, free: 95.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/8.916, allocations: 0.8553 MB / 3.776 GB, free: 95.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/8.917, allocations: 0.6293 MB / 3.776 GB, free: 95.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/8.917, allocations: 0 / 3.776 GB, free: 95.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003489/8.921, allocations: 1.57 MB / 3.778 GB, free: 94.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003783/8.921, allocations: 1.899 MB / 3.78 GB, free: 92.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/8.921, allocations: 6.25 kB / 3.78 GB, free: 92.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/8.921, allocations: 10.25 kB / 3.78 GB, free: 92.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/8.923, allocations: 359.4 kB / 3.78 GB, free: 92.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005043/8.923, allocations: 1.191 MB / 3.781 GB, free: 91.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/8.925, allocations: 245.2 kB / 3.781 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/8.925, allocations: 64.17 kB / 3.782 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/8.925, allocations: 3.625 kB / 3.782 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00293/8.928, allocations: 1.407 MB / 3.783 GB, free: 91.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/8.928, allocations: 9.406 kB / 3.783 GB, free: 91.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/8.928, allocations: 10.94 kB / 3.783 GB, free: 91.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/8.93, allocations: 331.8 kB / 3.783 GB, free: 91.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/8.93, allocations: 15.66 kB / 3.783 GB, free: 91.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/8.932, allocations: 236.8 kB / 3.783 GB, free: 91.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/8.932, allocations: 52.33 kB / 3.784 GB, free: 91.62 MB / 0.7136 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 () * Number of clocked 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.0009131/8.933, allocations: 412.6 kB / 3.784 GB, free: 91.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/8.933, allocations: 151 kB / 3.784 GB, free: 91.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/8.936, allocations: 1.438 MB / 3.785 GB, free: 91.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/8.936, allocations: 11.28 kB / 3.786 GB, free: 91.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/8.936, allocations: 2.875 kB / 3.786 GB, free: 91.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/8.936, allocations: 4.172 kB / 3.786 GB, free: 91.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0054/8.942, allocations: 2.972 MB / 3.788 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/8.942, allocations: 3.938 kB / 3.788 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/8.943, allocations: 255.5 kB / 3.789 GB, free: 90.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.374e-05/8.943, allocations: 6.469 kB / 3.789 GB, free: 90.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/8.943, allocations: 29.86 kB / 3.789 GB, free: 90.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003796/8.944, allocations: 1.192 MB / 3.79 GB, free: 89.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/8.944, allocations: 3.156 kB / 3.79 GB, free: 89.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/8.948, allocations: 2.43 MB / 3.792 GB, free: 88.92 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000885/8.949, allocations: 370.5 kB / 3.793 GB, free: 88.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/8.949, allocations: 24.89 kB / 3.793 GB, free: 88.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/8.95, allocations: 144.3 kB / 3.793 GB, free: 88.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/8.951, allocations: 76.73 kB / 3.793 GB, free: 88.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.233e-05/8.951, allocations: 37.92 kB / 3.793 GB, free: 88.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00142/8.952, allocations: 0.8865 MB / 3.794 GB, free: 88.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/8.952, allocations: 0 / 3.794 GB, free: 88.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003315/8.955, allocations: 0.9905 MB / 3.795 GB, free: 88.5 MB / 0.7136 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) * 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.007835/8.963, allocations: 5.893 MB / 3.8 GB, free: 85.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004785/8.968, allocations: 2.193 MB / 3.803 GB, free: 85.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/8.968, allocations: 4.125 kB / 3.803 GB, free: 85.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/8.97, allocations: 0.6808 MB / 3.803 GB, free: 85.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/8.973, allocations: 0.6685 MB / 3.804 GB, free: 85.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00736/8.98, allocations: 7.166 MB / 3.811 GB, free: 80.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006424/8.981, allocations: 1.263 MB / 3.812 GB, free: 79.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00206/8.983, allocations: 423 kB / 3.813 GB, free: 79.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/8.984, allocations: 0.5778 MB / 3.813 GB, free: 79.33 MB / 0.7136 GB Notification: Performance of SimCode: time 1.533e-06/8.984, allocations: 4 kB / 3.813 GB, free: 79.33 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09295/9.077, allocations: 67.35 MB / 3.879 GB, free: 20.38 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/9.077, allocations: 259.5 kB / 3.879 GB, free: 20.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.331/13.41, allocations: 0 / 3.879 GB, free: 20.02 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)