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.482/1.482, allocations: 249.3 MB / 261.8 MB, free: 5.891 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.001122/0.001122, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009062/0.0009062, allocations: 86.48 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.495e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2169, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.692/1.909, allocations: 416.3 MB / 1.298 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/1.91, allocations: 89.75 kB / 1.298 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.94/3.85, allocations: 0.597 GB / 1.896 GB, free: 26.56 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.853e-06/3.85, allocations: 3.938 kB / 1.896 GB, free: 26.55 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001769/3.85, allocations: 43.98 kB / 1.896 GB, free: 26.51 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.004592/3.855, allocations: 1.832 MB / 1.897 GB, free: 24.63 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/3.855, allocations: 8.031 kB / 1.897 GB, free: 24.62 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000195/3.855, allocations: 139.3 kB / 1.897 GB, free: 24.48 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/3.857, allocations: 385.6 kB / 1.898 GB, free: 24.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/3.86, allocations: 1.309 MB / 1.899 GB, free: 22.73 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006225/3.86, allocations: 218.3 kB / 1.899 GB, free: 22.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/3.86, allocations: 108 kB / 1.899 GB, free: 22.42 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/3.862, allocations: 1.028 MB / 1.9 GB, free: 21.33 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/3.862, allocations: 0 / 1.9 GB, free: 21.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9e-05/3.862, allocations: 40 kB / 1.9 GB, free: 21.29 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/3.862, allocations: 20 kB / 1.901 GB, free: 21.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/3.863, allocations: 0.7966 MB / 1.901 GB, free: 20.48 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.007373/3.871, allocations: 4.834 MB / 1.906 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009665/3.872, allocations: 0.6272 MB / 1.907 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/3.872, allocations: 349.2 kB / 1.907 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/3.873, allocations: 1.057 MB / 1.908 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006604/3.874, allocations: 430 kB / 1.908 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 4.238e-06/3.874, allocations: 0 / 1.908 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001683/3.876, allocations: 0.7719 MB / 1.909 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/3.876, allocations: 192.6 kB / 1.909 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/3.877, allocations: 1.026 MB / 1.91 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/3.877, allocations: 53.7 kB / 1.91 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/3.878, allocations: 0.5919 MB / 1.911 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/3.878, allocations: 256.3 kB / 1.911 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/3.878, allocations: 20 kB / 1.911 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.9e-05/3.878, allocations: 345.9 kB / 1.912 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/3.878, allocations: 326 kB / 1.912 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/3.879, allocations: 0.6064 MB / 1.912 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/3.88, allocations: 416.5 kB / 1.913 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/3.88, allocations: 0 / 1.913 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001753/3.881, allocations: 1.095 MB / 1.914 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004186/3.882, allocations: 1.62 MB / 1.916 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/3.882, allocations: 4 kB / 1.916 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/3.882, allocations: 12 kB / 1.916 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/3.883, allocations: 303.5 kB / 1.916 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006088/3.884, allocations: 1.199 MB / 1.917 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/3.886, allocations: 214.8 kB / 1.917 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/3.886, allocations: 55.95 kB / 1.917 GB, free: 3.258 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/3.886, allocations: 4 kB / 1.917 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001591/3.887, allocations: 0.9385 MB / 1.918 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/3.887, allocations: 4 kB / 1.918 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/3.887, allocations: 12.5 kB / 1.918 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/3.889, allocations: 291.5 kB / 1.918 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/3.889, allocations: 8 kB / 1.918 GB, free: 2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/3.89, allocations: 202.9 kB / 1.919 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/3.89, allocations: 55.95 kB / 1.919 GB, free: 1.746 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.0002982/3.89, allocations: 169.7 kB / 1.919 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/3.891, allocations: 142.2 kB / 1.919 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/3.893, allocations: 1.072 MB / 1.92 GB, free: 352 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/3.893, allocations: 8 kB / 1.92 GB, free: 344 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/3.893, allocations: 0 / 1.92 GB, free: 344 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/3.893, allocations: 3.984 kB / 1.92 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7259/4.619, allocations: 2.314 MB / 1.922 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/4.619, allocations: 6.516 kB / 1.922 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/4.62, allocations: 228.5 kB / 1.923 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.779e-05/4.62, allocations: 5.625 kB / 1.923 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-05/4.62, allocations: 35.95 kB / 1.923 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004704/4.621, allocations: 1.185 MB / 1.924 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/4.621, allocations: 5 kB / 1.924 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/4.624, allocations: 1.652 MB / 1.925 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009596/4.625, allocations: 359.8 kB / 1.926 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/4.625, allocations: 23.44 kB / 1.926 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/4.626, allocations: 129.2 kB / 1.926 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/4.626, allocations: 72.23 kB / 1.926 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/4.626, allocations: 39.98 kB / 1.926 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001412/4.628, allocations: 0.7771 MB / 1.927 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.4e-07/4.628, allocations: 3.875 kB / 1.927 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003255/4.631, allocations: 0.8872 MB / 1.928 GB, free: 136.4 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.005767/4.637, allocations: 3.507 MB / 1.931 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003703/4.641, allocations: 1.617 MB / 1.933 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/4.641, allocations: 1.062 kB / 1.933 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/4.642, allocations: 490.4 kB / 1.933 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00361/4.645, allocations: 0.5704 MB / 1.934 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006398/4.652, allocations: 2.22 MB / 1.936 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000875/4.653, allocations: 1.203 MB / 1.937 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00252/4.655, allocations: 431 kB / 1.937 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007848/4.656, allocations: 0.5265 MB / 1.938 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.723e-06/4.656, allocations: 0 / 1.938 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/4.763, allocations: 47.32 MB / 1.984 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/4.763, allocations: 256.8 kB / 1.984 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.196/8.959, allocations: 0 / 1.984 GB, free: 131.8 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)