Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 249.5 MB / 257 MB, free: 6.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 183.5 kB / 316.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008324/0.0008324, allocations: 86.78 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.799e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2185, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.715/1.933, allocations: 416.5 MB / 1.292 GB, free: 255 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.934, allocations: 91.11 kB / 1.292 GB, free: 255 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.686/3.62, allocations: 0.5939 GB / 1.886 GB, free: 37.21 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.883e-06/3.62, allocations: 4 kB / 1.886 GB, free: 37.21 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001431/3.62, allocations: 51.77 kB / 1.886 GB, free: 37.16 MB / 0.8698 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.003655/3.624, allocations: 1.835 MB / 1.888 GB, free: 35.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/3.624, allocations: 12.03 kB / 1.888 GB, free: 35.29 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/3.625, allocations: 389.6 kB / 1.888 GB, free: 34.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/3.628, allocations: 1.307 MB / 1.89 GB, free: 33.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005854/3.628, allocations: 173.9 kB / 1.89 GB, free: 33.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/3.628, allocations: 60 kB / 1.89 GB, free: 33.35 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001183/3.629, allocations: 0.7575 MB / 1.891 GB, free: 32.59 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/3.631, allocations: 0.8954 MB / 1.891 GB, free: 31.64 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/3.631, allocations: 3.938 kB / 1.891 GB, free: 31.63 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.712e-05/3.631, allocations: 8 kB / 1.891 GB, free: 31.62 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/3.631, allocations: 20 kB / 1.891 GB, free: 31.61 MB / 0.8698 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.006171/3.637, allocations: 4.636 MB / 1.896 GB, free: 26.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000763/3.638, allocations: 0.5983 MB / 1.897 GB, free: 26.14 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/3.638, allocations: 319.1 kB / 1.897 GB, free: 25.83 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008418/3.639, allocations: 1.064 MB / 1.898 GB, free: 24.55 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005469/3.64, allocations: 404.5 kB / 1.898 GB, free: 24.14 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.306e-06/3.64, allocations: 4 kB / 1.898 GB, free: 24.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001807/3.641, allocations: 0.8148 MB / 1.899 GB, free: 23.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/3.641, allocations: 188.7 kB / 1.899 GB, free: 23.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008864/3.642, allocations: 0.8539 MB / 1.9 GB, free: 22.23 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/3.642, allocations: 29.7 kB / 1.9 GB, free: 22.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/3.643, allocations: 0.5948 MB / 1.901 GB, free: 21.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/3.643, allocations: 240.4 kB / 1.901 GB, free: 21.35 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/3.643, allocations: 0 / 1.901 GB, free: 21.35 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.218e-05/3.643, allocations: 347 kB / 1.901 GB, free: 21.01 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/3.644, allocations: 314.6 kB / 1.902 GB, free: 20.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005376/3.644, allocations: 0.5804 MB / 1.902 GB, free: 20.02 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/3.645, allocations: 464.1 kB / 1.903 GB, free: 19.56 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/3.645, allocations: 4 kB / 1.903 GB, free: 19.56 MB / 0.8698 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001899/3.647, allocations: 1.065 MB / 1.904 GB, free: 18.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002841/3.647, allocations: 1.624 MB / 1.905 GB, free: 16.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/3.647, allocations: 8 kB / 1.905 GB, free: 16.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/3.647, allocations: 8 kB / 1.905 GB, free: 16.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/3.649, allocations: 299.6 kB / 1.906 GB, free: 16.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004822/3.649, allocations: 1.215 MB / 1.907 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/3.651, allocations: 183.1 kB / 1.907 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/3.651, allocations: 51.97 kB / 1.907 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/3.651, allocations: 4 kB / 1.907 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00175/3.653, allocations: 0.9093 MB / 1.908 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/3.653, allocations: 12.09 kB / 1.908 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/3.653, allocations: 11.98 kB / 1.908 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/3.654, allocations: 279.6 kB / 1.908 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/3.654, allocations: 8 kB / 1.908 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/3.655, allocations: 163.3 kB / 1.908 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/3.655, allocations: 51.97 kB / 1.908 GB, free: 13.51 MB / 0.8698 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.0002489/3.655, allocations: 132.7 kB / 1.908 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001543/3.657, allocations: 0.7992 MB / 1.909 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/3.657, allocations: 134.4 kB / 1.909 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/3.659, allocations: 1.064 MB / 1.91 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/3.659, allocations: 8 kB / 1.91 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/3.659, allocations: 0 / 1.91 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/3.659, allocations: 7.984 kB / 1.91 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/3.662, allocations: 2.214 MB / 1.913 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/3.662, allocations: 352 / 1.913 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009505/3.663, allocations: 231.6 kB / 1.913 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/3.663, allocations: 11.98 kB / 1.913 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/3.663, allocations: 27.86 kB / 1.913 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003432/3.664, allocations: 1.184 MB / 1.914 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/3.664, allocations: 4 kB / 1.914 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/3.666, allocations: 1.64 MB / 1.916 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/3.667, allocations: 347.1 kB / 1.916 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/3.667, allocations: 11.95 kB / 1.916 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/3.668, allocations: 123.7 kB / 1.916 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/3.668, allocations: 64.69 kB / 1.916 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-05/3.668, allocations: 43.97 kB / 1.916 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007622/3.669, allocations: 0.6301 MB / 1.917 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/3.669, allocations: 0 / 1.917 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002472/3.671, allocations: 0.8422 MB / 1.918 GB, free: 3.805 MB / 0.8698 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.004164/3.675, allocations: 3.525 MB / 1.921 GB, free: 268 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.4918/4.167, allocations: 1.542 MB / 1.923 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/4.167, allocations: 0.5625 kB / 1.923 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009281/4.168, allocations: 461.6 kB / 1.923 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/4.171, allocations: 465.3 kB / 1.923 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/4.176, allocations: 2.117 MB / 1.925 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008888/4.177, allocations: 1.209 MB / 1.927 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00221/4.18, allocations: 391.1 kB / 1.927 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006794/4.18, allocations: 0.524 MB / 1.928 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of SimCode: time 9.51e-07/4.18, allocations: 2.562 kB / 1.928 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08535/4.266, allocations: 39.09 MB / 1.966 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/4.266, allocations: 229.5 kB / 1.966 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/7.638, allocations: 0 / 1.966 GB, free: 139.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)