Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.605/2.605, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.001471/0.001471, allocations: 180.8 kB / 360.6 MB, free: 7.27 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.971/1.971, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001072/0.001072, allocations: 90.88 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.942e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7854/0.7854, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.277/2.062, allocations: 423.1 MB / 1.377 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/2.063, allocations: 97.19 kB / 1.377 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.407/5.469, allocations: 0.6104 GB / 1.987 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.673e-06/5.469, allocations: 0 / 1.987 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002677/5.47, allocations: 39.75 kB / 1.987 GB, free: 155.6 MB / 0.9323 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.006515/5.476, allocations: 1.846 MB / 1.989 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/5.476, allocations: 11.28 kB / 1.989 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/5.479, allocations: 385.1 kB / 1.989 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004641/5.484, allocations: 1.307 MB / 1.991 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001142/5.485, allocations: 171.2 kB / 1.991 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004255/5.486, allocations: 66.77 kB / 1.991 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002211/5.488, allocations: 0.7502 MB / 1.992 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/5.49, allocations: 0.899 MB / 1.992 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/5.49, allocations: 3.094 kB / 1.992 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/5.49, allocations: 3.938 kB / 1.992 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/5.49, allocations: 21.77 kB / 1.992 GB, free: 154.2 MB / 0.9323 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.0124/5.503, allocations: 4.636 MB / 1.997 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/5.504, allocations: 0.6001 MB / 1.998 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007102/5.505, allocations: 321.6 kB / 1.998 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/5.506, allocations: 1.058 MB / 1.999 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/5.508, allocations: 414.2 kB / 1.999 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 4.228e-06/5.508, allocations: 0 / 1.999 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.003178/5.511, allocations: 0.8061 MB / 2 GB, free: 151 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/5.511, allocations: 195.6 kB / 2 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/5.513, allocations: 0.8544 MB / 2.001 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003337/5.513, allocations: 32.39 kB / 2.001 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000629/5.514, allocations: 0.5889 MB / 2.002 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003512/5.514, allocations: 248.8 kB / 2.002 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/5.514, allocations: 0 / 2.002 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/5.514, allocations: 346.3 kB / 2.002 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007894/5.515, allocations: 316.6 kB / 2.003 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/5.516, allocations: 0.5838 MB / 2.003 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/5.518, allocations: 463.4 kB / 2.004 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/5.518, allocations: 0 / 2.004 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003957/5.522, allocations: 1.074 MB / 2.005 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003985/5.523, allocations: 1.612 MB / 2.006 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.423e-05/5.523, allocations: 7.688 kB / 2.006 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.132e-05/5.523, allocations: 10.84 kB / 2.006 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/5.526, allocations: 303.8 kB / 2.007 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007951/5.526, allocations: 1.215 MB / 2.008 GB, free: 146.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/5.529, allocations: 171.4 kB / 2.008 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003895/5.53, allocations: 56.02 kB / 2.008 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/5.53, allocations: 7.656 kB / 2.008 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003499/5.533, allocations: 0.9045 MB / 2.009 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/5.533, allocations: 8.422 kB / 2.009 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/5.533, allocations: 15.23 kB / 2.009 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002445/5.536, allocations: 282.7 kB / 2.009 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/5.536, allocations: 12.84 kB / 2.009 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/5.538, allocations: 161.7 kB / 2.009 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003028/5.539, allocations: 55.38 kB / 2.009 GB, free: 146.5 MB / 0.9323 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.0004086/5.539, allocations: 129.5 kB / 2.009 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003306/5.542, allocations: 0.8007 MB / 2.01 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005039/5.543, allocations: 131.6 kB / 2.01 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/5.547, allocations: 1.072 MB / 2.011 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/5.547, allocations: 13.77 kB / 2.011 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/5.547, allocations: 3.156 kB / 2.011 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/5.547, allocations: 3.562 kB / 2.011 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006969/5.554, allocations: 2.216 MB / 2.014 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/5.554, allocations: 2.188 kB / 2.014 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/5.556, allocations: 224.5 kB / 2.014 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.052e-05/5.557, allocations: 5.625 kB / 2.014 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/5.557, allocations: 23.31 kB / 2.014 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005502/5.557, allocations: 1.182 MB / 2.015 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/5.557, allocations: 2.469 kB / 2.015 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004846/5.562, allocations: 1.65 MB / 2.017 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/5.563, allocations: 346.8 kB / 2.017 GB, free: 144 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000397/5.564, allocations: 8.688 kB / 2.017 GB, free: 144 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/5.566, allocations: 119.2 kB / 2.017 GB, free: 144 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/5.566, allocations: 75.06 kB / 2.017 GB, free: 144 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/5.567, allocations: 40.98 kB / 2.017 GB, free: 144 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001443/5.568, allocations: 0.6312 MB / 2.018 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.21e-07/5.568, allocations: 1.406 kB / 2.018 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004614/5.573, allocations: 0.8437 MB / 2.019 GB, free: 143.7 MB / 0.9323 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.00799/5.581, allocations: 3.531 MB / 2.022 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004759/5.585, allocations: 1.539 MB / 2.024 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/5.586, allocations: 0 / 2.024 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/5.587, allocations: 467.2 kB / 2.024 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/5.591, allocations: 463.1 kB / 2.024 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008085/5.599, allocations: 2.131 MB / 2.027 GB, free: 141.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008754/5.6, allocations: 1.211 MB / 2.028 GB, free: 140.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003579/5.604, allocations: 404.2 kB / 2.028 GB, free: 140.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/5.605, allocations: 0.5224 MB / 2.029 GB, free: 140.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.333e-06/5.605, allocations: 1.188 kB / 2.029 GB, free: 140.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1293/5.735, allocations: 39.1 MB / 2.067 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/5.735, allocations: 206.3 kB / 2.067 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.498/10.23, allocations: 0 / 2.067 GB, free: 139.1 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)