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.518/2.518, allocations: 287.3 MB / 302.3 MB, free: 8.352 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.001555/0.001555, allocations: 175.6 kB / 370.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.6295 GB, free: 10.66 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 93.53 kB / 0.7428 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005037, allocations: 12.91 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2194, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.553, allocations: 423.8 MB / 1.392 GB, free: 6.492 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/1.553, allocations: 90.95 kB / 1.392 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.435/4.989, allocations: 0.6154 GB / 2.008 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.394e-06/4.989, allocations: 0 / 2.008 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002335/4.989, allocations: 43.98 kB / 2.008 GB, free: 124.2 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.008364/4.998, allocations: 2.114 MB / 2.01 GB, free: 122 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/4.998, allocations: 12.03 kB / 2.01 GB, free: 122 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006617/4.998, allocations: 135.3 kB / 2.01 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003218/5.002, allocations: 392.6 kB / 2.01 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005253/5.007, allocations: 1.321 MB / 2.012 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001274/5.008, allocations: 214.5 kB / 2.012 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004058/5.009, allocations: 108.8 kB / 2.012 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003943/5.013, allocations: 1.164 MB / 2.013 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.808e-05/5.013, allocations: 7.016 kB / 2.013 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/5.013, allocations: 36 kB / 2.013 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/5.013, allocations: 20 kB / 2.013 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004915/5.018, allocations: 1.08 MB / 2.014 GB, free: 117.5 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01242/5.03, allocations: 4.828 MB / 2.019 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/5.034, allocations: 0.9315 MB / 2.02 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/5.036, allocations: 1.059 MB / 2.021 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002182/5.038, allocations: 0.5602 MB / 2.021 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 4.308e-06/5.038, allocations: 2.344 kB / 2.021 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.006427/5.044, allocations: 1.434 MB / 2.023 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/5.045, allocations: 188.6 kB / 2.023 GB, free: 108 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/5.047, allocations: 1.041 MB / 2.024 GB, free: 107 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002585/5.047, allocations: 49.7 kB / 2.024 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005852/5.047, allocations: 0.5956 MB / 2.025 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/5.048, allocations: 256.3 kB / 2.025 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/5.048, allocations: 20 kB / 2.025 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.029e-05/5.048, allocations: 343.8 kB / 2.025 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/5.05, allocations: 468.3 kB / 2.026 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/5.052, allocations: 0.7551 MB / 2.026 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/5.055, allocations: 0.5461 MB / 2.027 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/5.055, allocations: 0 / 2.027 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005334/5.06, allocations: 1.368 MB / 2.028 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003703/5.06, allocations: 1.624 MB / 2.03 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/5.06, allocations: 8 kB / 2.03 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.794e-05/5.06, allocations: 12 kB / 2.03 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002733/5.063, allocations: 296.7 kB / 2.03 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007415/5.064, allocations: 1.195 MB / 2.031 GB, free: 99.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/5.067, allocations: 218.9 kB / 2.031 GB, free: 99 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/5.067, allocations: 63.91 kB / 2.032 GB, free: 98.94 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/5.067, allocations: 4 kB / 2.032 GB, free: 98.93 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004823/5.072, allocations: 1.22 MB / 2.033 GB, free: 97.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/5.072, allocations: 4 kB / 2.033 GB, free: 97.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/5.072, allocations: 8 kB / 2.033 GB, free: 97.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/5.074, allocations: 291.8 kB / 2.033 GB, free: 97.41 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/5.074, allocations: 11.94 kB / 2.033 GB, free: 97.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/5.077, allocations: 202.9 kB / 2.033 GB, free: 97.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/5.077, allocations: 59.97 kB / 2.033 GB, free: 97.14 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 () * Number of clocked 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.0009391/5.078, allocations: 379.8 kB / 2.034 GB, free: 96.76 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/5.078, allocations: 142.3 kB / 2.034 GB, free: 96.62 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005108/5.083, allocations: 1.349 MB / 2.035 GB, free: 95.27 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/5.083, allocations: 8 kB / 2.035 GB, free: 95.26 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/5.083, allocations: 4 kB / 2.035 GB, free: 95.25 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/5.083, allocations: 7.922 kB / 2.035 GB, free: 95.25 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007328/5.091, allocations: 2.593 MB / 2.038 GB, free: 92.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/5.091, allocations: 4 kB / 2.038 GB, free: 92.56 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/5.093, allocations: 232 kB / 2.038 GB, free: 92.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/5.093, allocations: 4 kB / 2.038 GB, free: 92.33 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.326e-05/5.093, allocations: 27.98 kB / 2.038 GB, free: 92.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004985/5.093, allocations: 1.199 MB / 2.039 GB, free: 91.06 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/5.093, allocations: 3.938 kB / 2.039 GB, free: 91.06 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006819/5.1, allocations: 2.062 MB / 2.041 GB, free: 88.89 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009692/5.101, allocations: 362.8 kB / 2.041 GB, free: 88.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/5.101, allocations: 23.98 kB / 2.041 GB, free: 88.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/5.103, allocations: 135.8 kB / 2.042 GB, free: 88.36 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/5.104, allocations: 68.55 kB / 2.042 GB, free: 88.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/5.104, allocations: 39.97 kB / 2.042 GB, free: 88.26 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001594/5.105, allocations: 0.7934 MB / 2.042 GB, free: 87.46 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.81e-07/5.105, allocations: 0 / 2.042 GB, free: 87.46 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00375/5.109, allocations: 0.8934 MB / 2.043 GB, free: 86.57 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) * Number of clocked states: 0 () * 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.009579/5.119, allocations: 3.913 MB / 2.047 GB, free: 82.62 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007552/5.126, allocations: 1.996 MB / 2.049 GB, free: 80.59 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/5.126, allocations: 0 / 2.049 GB, free: 80.59 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0024/5.129, allocations: 0.6139 MB / 2.05 GB, free: 79.98 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005061/5.134, allocations: 0.5644 MB / 2.05 GB, free: 79.43 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009762/5.144, allocations: 6.401 MB / 2.056 GB, free: 72.88 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/5.144, allocations: 1.203 MB / 2.058 GB, free: 71.64 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002608/5.147, allocations: 359.1 kB / 2.058 GB, free: 71.32 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/5.148, allocations: 0.55 MB / 2.059 GB, free: 70.77 MB / 0.9323 GB Notification: Performance of SimCode: time 8.52e-07/5.148, allocations: 0 / 2.059 GB, free: 70.77 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/5.254, allocations: 44.23 MB / 2.102 GB, free: 27.14 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/5.255, allocations: 284.5 kB / 2.102 GB, free: 26.79 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.472/9.727, allocations: 3.375 kB / 2.102 GB, free: 26.79 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)