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.749/1.749, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001237/0.001237, allocations: 182.8 kB / 371.6 MB, free: 3.434 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.91/1.91, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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: 92.69 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.821e-05/4.825e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3342, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.915/2.249, allocations: 424.8 MB / 1.395 GB, free: 289.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/2.249, allocations: 88.56 kB / 1.395 GB, free: 289.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.994/4.243, allocations: 0.6139 GB / 2.009 GB, free: 111.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.645e-06/4.243, allocations: 0 / 2.009 GB, free: 111.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001875/4.243, allocations: 51.22 kB / 2.009 GB, free: 111.8 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.004626/4.248, allocations: 1.837 MB / 2.011 GB, free: 109.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/4.248, allocations: 12.03 kB / 2.011 GB, free: 109.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001855/4.248, allocations: 142.6 kB / 2.011 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/4.25, allocations: 388.7 kB / 2.011 GB, free: 109.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/4.253, allocations: 1.305 MB / 2.012 GB, free: 108.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006081/4.253, allocations: 211 kB / 2.013 GB, free: 107.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/4.253, allocations: 104 kB / 2.013 GB, free: 107.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/4.255, allocations: 1.03 MB / 2.014 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/4.255, allocations: 3.953 kB / 2.014 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/4.255, allocations: 36 kB / 2.014 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/4.255, allocations: 20 kB / 2.014 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/4.256, allocations: 0.7966 MB / 2.014 GB, free: 105.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.007374/4.264, allocations: 4.84 MB / 2.019 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000963/4.265, allocations: 0.6174 MB / 2.02 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/4.265, allocations: 343.1 kB / 2.02 GB, free: 99.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009531/4.266, allocations: 1.058 MB / 2.021 GB, free: 98.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006545/4.267, allocations: 434 kB / 2.022 GB, free: 98.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.657e-06/4.267, allocations: 4 kB / 2.022 GB, free: 98.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001651/4.268, allocations: 0.7641 MB / 2.022 GB, free: 97.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/4.269, allocations: 196.7 kB / 2.023 GB, free: 97.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/4.27, allocations: 1.023 MB / 2.024 GB, free: 96.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/4.27, allocations: 49.7 kB / 2.024 GB, free: 96.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/4.27, allocations: 0.5924 MB / 2.024 GB, free: 95.47 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/4.271, allocations: 257.3 kB / 2.024 GB, free: 95.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/4.271, allocations: 16 kB / 2.024 GB, free: 95.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/4.271, allocations: 341.9 kB / 2.025 GB, free: 94.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/4.271, allocations: 329.9 kB / 2.025 GB, free: 94.54 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006655/4.272, allocations: 0.6102 MB / 2.026 GB, free: 93.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/4.273, allocations: 416.6 kB / 2.026 GB, free: 93.41 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/4.273, allocations: 0 / 2.026 GB, free: 93.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001774/4.274, allocations: 1.083 MB / 2.027 GB, free: 92.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003458/4.275, allocations: 1.635 MB / 2.029 GB, free: 90.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/4.275, allocations: 4 kB / 2.029 GB, free: 90.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/4.275, allocations: 8 kB / 2.029 GB, free: 90.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/4.276, allocations: 309.8 kB / 2.029 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006254/4.277, allocations: 1.196 MB / 2.03 GB, free: 89.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/4.278, allocations: 218.8 kB / 2.03 GB, free: 88.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/4.279, allocations: 52.02 kB / 2.03 GB, free: 88.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/4.279, allocations: 4 kB / 2.03 GB, free: 88.75 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001479/4.28, allocations: 0.9501 MB / 2.031 GB, free: 87.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/4.28, allocations: 4 kB / 2.031 GB, free: 87.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/4.28, allocations: 8 kB / 2.031 GB, free: 87.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/4.281, allocations: 288.1 kB / 2.032 GB, free: 87.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/4.281, allocations: 15.94 kB / 2.032 GB, free: 87.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/4.283, allocations: 199 kB / 2.032 GB, free: 87.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/4.283, allocations: 59.94 kB / 2.032 GB, free: 87.23 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.0003011/4.283, allocations: 161.5 kB / 2.032 GB, free: 87.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/4.284, allocations: 150.2 kB / 2.032 GB, free: 86.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/4.286, allocations: 1.068 MB / 2.033 GB, free: 85.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/4.286, allocations: 12 kB / 2.033 GB, free: 85.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/4.286, allocations: 0 / 2.033 GB, free: 85.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/4.286, allocations: 3.984 kB / 2.033 GB, free: 85.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/4.289, allocations: 2.329 MB / 2.036 GB, free: 83.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/4.289, allocations: 4 kB / 2.036 GB, free: 83.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/4.29, allocations: 230.2 kB / 2.036 GB, free: 83.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/4.29, allocations: 8 kB / 2.036 GB, free: 83.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-05/4.29, allocations: 27.97 kB / 2.036 GB, free: 83.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003957/4.29, allocations: 1.184 MB / 2.037 GB, free: 81.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/4.29, allocations: 7.938 kB / 2.037 GB, free: 81.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/4.293, allocations: 1.645 MB / 2.039 GB, free: 80.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006444/4.293, allocations: 362.9 kB / 2.039 GB, free: 79.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/4.293, allocations: 23.94 kB / 2.039 GB, free: 79.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/4.294, allocations: 139.7 kB / 2.039 GB, free: 79.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/4.295, allocations: 68.69 kB / 2.039 GB, free: 79.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-05/4.295, allocations: 39.97 kB / 2.039 GB, free: 79.54 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001047/4.296, allocations: 0.7725 MB / 2.04 GB, free: 78.76 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/4.296, allocations: 3.938 kB / 2.04 GB, free: 78.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002829/4.299, allocations: 0.8777 MB / 2.041 GB, free: 77.88 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.00444/4.303, allocations: 3.516 MB / 2.044 GB, free: 74.35 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002773/4.306, allocations: 1.621 MB / 2.046 GB, free: 72.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/4.306, allocations: 1.688 kB / 2.046 GB, free: 72.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007334/4.307, allocations: 492.7 kB / 2.046 GB, free: 72.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/4.31, allocations: 0.581 MB / 2.047 GB, free: 71.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/4.315, allocations: 2.219 MB / 2.049 GB, free: 69.35 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/4.315, allocations: 1.205 MB / 2.05 GB, free: 68.11 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001914/4.317, allocations: 426.7 kB / 2.051 GB, free: 67.69 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006163/4.318, allocations: 0.5343 MB / 2.051 GB, free: 67.16 MB / 0.948 GB Notification: Performance of SimCode: time 1.293e-06/4.318, allocations: 0 / 2.051 GB, free: 67.16 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07531/4.393, allocations: 47.33 MB / 2.097 GB, free: 20.19 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/4.393, allocations: 248.6 kB / 2.098 GB, free: 19.86 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.991/8.384, allocations: 64 / 2.098 GB, free: 19.86 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)