Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.765/1.765, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001823/0.001823, allocations: 189 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 0.6366 GB, free: 8.617 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000891/0.000891, allocations: 77.89 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003751, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3045, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.343/6.648, allocations: 2.359 GB / 3.348 GB, free: 182.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/6.648, allocations: 96.64 kB / 3.348 GB, free: 182.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.487/10.13, allocations: 0.9482 GB / 4.296 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.699e-06/10.13, allocations: 0 / 4.296 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003022/10.14, allocations: 48.42 kB / 4.296 GB, free: 116.7 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.008786/10.14, allocations: 2.403 MB / 4.298 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/10.14, allocations: 8.531 kB / 4.298 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006539/10.14, allocations: 161.3 kB / 4.298 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/10.15, allocations: 0.5486 MB / 4.299 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004857/10.15, allocations: 1.417 MB / 4.3 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006974/10.15, allocations: 223.1 kB / 4.301 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005003/10.15, allocations: 116.5 kB / 4.301 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/10.16, allocations: 1.395 MB / 4.302 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/10.16, allocations: 0 / 4.302 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/10.16, allocations: 42.66 kB / 4.302 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.706e-05/10.16, allocations: 47.19 kB / 4.302 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003142/10.16, allocations: 1.388 MB / 4.304 GB, free: 115.2 MB / 0.9636 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.009665/10.17, allocations: 5.442 MB / 4.309 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/10.17, allocations: 1.125 MB / 4.31 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008492/10.17, allocations: 0.7511 MB / 4.311 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/10.18, allocations: 0.6459 MB / 4.311 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=81): time 4.088e-06/10.18, allocations: 0 / 4.311 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.004472/10.18, allocations: 1.693 MB / 4.313 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/10.18, allocations: 193.2 kB / 4.313 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/10.18, allocations: 1.171 MB / 4.314 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002769/10.18, allocations: 56.3 kB / 4.314 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005718/10.18, allocations: 0.6512 MB / 4.315 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/10.18, allocations: 279.1 kB / 4.315 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/10.18, allocations: 20.31 kB / 4.315 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/10.18, allocations: 345.8 kB / 4.316 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/10.19, allocations: 0.546 MB / 4.316 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/10.19, allocations: 0.8727 MB / 4.317 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/10.19, allocations: 0.635 MB / 4.318 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/10.19, allocations: 7.375 kB / 4.318 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003851/10.19, allocations: 1.565 MB / 4.319 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006539/10.19, allocations: 1.908 MB / 4.321 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/10.19, allocations: 6.406 kB / 4.321 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.057e-05/10.19, allocations: 12 kB / 4.321 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/10.19, allocations: 337.6 kB / 4.321 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000643/10.2, allocations: 1.204 MB / 4.322 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/10.2, allocations: 246.8 kB / 4.323 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/10.2, allocations: 60.31 kB / 4.323 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/10.2, allocations: 3.062 kB / 4.323 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003328/10.2, allocations: 1.411 MB / 4.324 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/10.2, allocations: 7.734 kB / 4.324 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/10.2, allocations: 10.28 kB / 4.324 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/10.2, allocations: 324.1 kB / 4.324 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/10.2, allocations: 19.36 kB / 4.325 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/10.21, allocations: 231.2 kB / 4.325 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/10.21, allocations: 55.56 kB / 4.325 GB, free: 107.3 MB / 0.9636 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 (133): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0008509/10.21, allocations: 427 kB / 4.325 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/10.21, allocations: 160.6 kB / 4.325 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/10.21, allocations: 1.384 MB / 4.327 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/10.21, allocations: 13.3 kB / 4.327 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/10.21, allocations: 5.938 kB / 4.327 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/10.21, allocations: 6.375 kB / 4.327 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00531/10.22, allocations: 2.915 MB / 4.33 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/10.22, allocations: 3.312 kB / 4.33 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/10.22, allocations: 244.4 kB / 4.33 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/10.22, allocations: 9.438 kB / 4.33 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.447e-05/10.22, allocations: 29.62 kB / 4.33 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003505/10.22, allocations: 1.188 MB / 4.331 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/10.22, allocations: 8.781 kB / 4.331 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/10.22, allocations: 2.376 MB / 4.333 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008762/10.22, allocations: 377.9 kB / 4.334 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/10.22, allocations: 21.66 kB / 4.334 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/10.22, allocations: 145.4 kB / 4.334 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/10.22, allocations: 74.16 kB / 4.334 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.371e-05/10.22, allocations: 44.09 kB / 4.334 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001175/10.22, allocations: 0.8929 MB / 4.335 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.5e-07/10.22, allocations: 0 / 4.335 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003252/10.23, allocations: 1.038 MB / 4.336 GB, free: 104.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[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 (90): * Single equations (assignments): 84 * 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.008204/10.24, allocations: 5.887 MB / 4.342 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005231/10.24, allocations: 2.236 MB / 4.344 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/10.24, allocations: 2.969 kB / 4.344 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/10.24, allocations: 0.6682 MB / 4.344 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/10.25, allocations: 0.683 MB / 4.345 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007924/10.25, allocations: 7.206 MB / 4.352 GB, free: 96.44 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007756/10.26, allocations: 1.274 MB / 4.353 GB, free: 95.73 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002144/10.26, allocations: 421.5 kB / 4.354 GB, free: 95.71 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008104/10.26, allocations: 0.5838 MB / 4.354 GB, free: 95.71 MB / 0.9636 GB Notification: Performance of SimCode: time 1.082e-06/10.26, allocations: 0 / 4.354 GB, free: 95.71 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/10.37, allocations: 68.66 MB / 4.421 GB, free: 92.97 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/10.37, allocations: 260.1 kB / 4.422 GB, free: 92.62 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.523/14.89, allocations: 3.938 kB / 4.422 GB, free: 92.61 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)