Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",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.745/1.745, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001347/0.001347, allocations: 180.3 kB / 366.7 MB, free: 1.652 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.575/1.575, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008447/0.0008447, allocations: 87.8 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.193e-05/2.183e-05, allocations: 8 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6488/0.6488, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9974/1.646, allocations: 424.2 MB / 1.388 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.647, allocations: 93.31 kB / 1.388 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.357/4.003, allocations: 0.6107 GB / 1.998 GB, free: 166 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.013e-06/4.004, allocations: 0 / 1.998 GB, free: 166 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003157/4.004, allocations: 42.14 kB / 1.998 GB, free: 166 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.005758/4.01, allocations: 1.844 MB / 2 GB, free: 165.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/4.01, allocations: 8.031 kB / 2 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/4.012, allocations: 392.3 kB / 2.001 GB, free: 165.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004083/4.016, allocations: 1.301 MB / 2.002 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007315/4.017, allocations: 167.4 kB / 2.002 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003836/4.017, allocations: 60.22 kB / 2.002 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001897/4.019, allocations: 0.7583 MB / 2.003 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/4.021, allocations: 0.9094 MB / 2.004 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/4.021, allocations: 0 / 2.004 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/4.021, allocations: 2.812 kB / 2.004 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/4.021, allocations: 26.89 kB / 2.004 GB, free: 164.9 MB / 0.948 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.008558/4.03, allocations: 4.632 MB / 2.008 GB, free: 163 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008427/4.031, allocations: 0.6013 MB / 2.009 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/4.031, allocations: 325.2 kB / 2.009 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008835/4.032, allocations: 1.051 MB / 2.01 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005933/4.033, allocations: 412.2 kB / 2.011 GB, free: 161.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.336e-06/4.033, allocations: 0 / 2.011 GB, free: 161.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002131/4.035, allocations: 0.8128 MB / 2.011 GB, free: 161.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/4.035, allocations: 188.2 kB / 2.012 GB, free: 161.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/4.036, allocations: 0.8509 MB / 2.012 GB, free: 161.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/4.036, allocations: 32.05 kB / 2.012 GB, free: 161.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/4.037, allocations: 0.5917 MB / 2.013 GB, free: 161 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/4.037, allocations: 253.2 kB / 2.013 GB, free: 160.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/4.037, allocations: 0 / 2.013 GB, free: 160.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.959e-05/4.037, allocations: 344.6 kB / 2.014 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/4.037, allocations: 320.3 kB / 2.014 GB, free: 160.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006058/4.038, allocations: 0.5829 MB / 2.014 GB, free: 160.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/4.039, allocations: 458.2 kB / 2.015 GB, free: 160.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/4.039, allocations: 0 / 2.015 GB, free: 160.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002059/4.041, allocations: 1.07 MB / 2.016 GB, free: 160.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003089/4.042, allocations: 1.621 MB / 2.018 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/4.042, allocations: 6.969 kB / 2.018 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/4.042, allocations: 9.938 kB / 2.018 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/4.043, allocations: 304.7 kB / 2.018 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005094/4.044, allocations: 1.211 MB / 2.019 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/4.045, allocations: 178.2 kB / 2.019 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/4.045, allocations: 60.31 kB / 2.019 GB, free: 157.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/4.045, allocations: 3.719 kB / 2.019 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001905/4.047, allocations: 0.9064 MB / 2.02 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/4.047, allocations: 8 kB / 2.02 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/4.047, allocations: 7.469 kB / 2.02 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/4.048, allocations: 289.6 kB / 2.02 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/4.048, allocations: 10.44 kB / 2.02 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/4.05, allocations: 162.3 kB / 2.021 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/4.05, allocations: 58.67 kB / 2.021 GB, free: 157.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (121): * Single equations (assignments): 116 * 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.0003118/4.05, allocations: 132.9 kB / 2.021 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001744/4.052, allocations: 0.8007 MB / 2.022 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/4.052, allocations: 131.2 kB / 2.022 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/4.054, allocations: 1.063 MB / 2.023 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/4.055, allocations: 14.78 kB / 2.023 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/4.055, allocations: 2.5 kB / 2.023 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/4.055, allocations: 3.938 kB / 2.023 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/4.058, allocations: 2.212 MB / 2.025 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/4.058, allocations: 6.188 kB / 2.025 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/4.059, allocations: 229.6 kB / 2.025 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/4.059, allocations: 5.438 kB / 2.025 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.185e-05/4.059, allocations: 14.53 kB / 2.025 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003774/4.06, allocations: 1.193 MB / 2.026 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/4.06, allocations: 3.75 kB / 2.026 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/4.062, allocations: 1.644 MB / 2.028 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006123/4.063, allocations: 343.8 kB / 2.028 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/4.063, allocations: 10.56 kB / 2.028 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/4.064, allocations: 124.7 kB / 2.028 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/4.064, allocations: 70.3 kB / 2.028 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.862e-05/4.064, allocations: 39.2 kB / 2.028 GB, free: 154.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007758/4.065, allocations: 0.6333 MB / 2.029 GB, free: 154.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/4.065, allocations: 1.25 kB / 2.029 GB, free: 154.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00297/4.068, allocations: 0.8517 MB / 2.03 GB, free: 154.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004973/4.073, allocations: 3.511 MB / 2.033 GB, free: 152.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002934/4.076, allocations: 1.547 MB / 2.035 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/4.076, allocations: 0.9375 kB / 2.035 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000826/4.077, allocations: 468.3 kB / 2.035 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/4.08, allocations: 461.5 kB / 2.036 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006061/4.086, allocations: 2.144 MB / 2.038 GB, free: 152.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008793/4.087, allocations: 1.206 MB / 2.039 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002276/4.089, allocations: 401.4 kB / 2.039 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007831/4.09, allocations: 0.5269 MB / 2.04 GB, free: 151.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.272e-06/4.09, allocations: 0.75 kB / 2.04 GB, free: 151.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09401/4.184, allocations: 39.11 MB / 2.078 GB, free: 150.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/4.184, allocations: 202 kB / 2.078 GB, free: 150.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.785/7.969, allocations: 0 / 2.078 GB, free: 150.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)