Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 285.4 MB / 298 MB, free: 5.926 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.001433/0.001433, allocations: 180.8 kB / 366.4 MB, free: 2.059 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.775/1.775, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0007959/0.000796, allocations: 99.67 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.738e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7126/0.7127, allocations: 115.3 MB / 0.971 GB, free: 77.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.819, allocations: 423.9 MB / 1.385 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.82, allocations: 97.31 kB / 1.385 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.464/4.283, allocations: 0.6138 GB / 1.999 GB, free: 165.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.442e-06/4.284, allocations: 0 / 1.999 GB, free: 165.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000177/4.284, allocations: 49.44 kB / 1.999 GB, free: 165.2 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.004359/4.288, allocations: 1.848 MB / 2.001 GB, free: 164.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/4.288, allocations: 8.938 kB / 2.001 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/4.288, allocations: 134 kB / 2.001 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/4.29, allocations: 391.4 kB / 2.001 GB, free: 164.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/4.293, allocations: 1.3 MB / 2.002 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006835/4.294, allocations: 210.5 kB / 2.003 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/4.294, allocations: 105.2 kB / 2.003 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/4.296, allocations: 1.02 MB / 2.004 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/4.296, allocations: 1 kB / 2.004 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.616e-05/4.296, allocations: 37.14 kB / 2.004 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/4.296, allocations: 25.48 kB / 2.004 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/4.297, allocations: 0.7976 MB / 2.005 GB, free: 164 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.008644/4.306, allocations: 4.831 MB / 2.009 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/4.307, allocations: 0.6308 MB / 2.01 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/4.307, allocations: 335.7 kB / 2.01 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009075/4.308, allocations: 1.06 MB / 2.011 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006812/4.309, allocations: 433.6 kB / 2.012 GB, free: 160.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.867e-06/4.309, allocations: 3.219 kB / 2.012 GB, free: 160.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001584/4.311, allocations: 0.7695 MB / 2.012 GB, free: 160.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/4.311, allocations: 188.2 kB / 2.013 GB, free: 160.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/4.312, allocations: 1.023 MB / 2.014 GB, free: 160.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/4.312, allocations: 52.2 kB / 2.014 GB, free: 160.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/4.313, allocations: 0.5963 MB / 2.014 GB, free: 160.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/4.313, allocations: 249 kB / 2.015 GB, free: 160 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/4.313, allocations: 22 kB / 2.015 GB, free: 160 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/4.313, allocations: 345 kB / 2.015 GB, free: 159.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005337/4.314, allocations: 328.4 kB / 2.015 GB, free: 159.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007102/4.314, allocations: 0.613 MB / 2.016 GB, free: 159.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/4.315, allocations: 412.8 kB / 2.016 GB, free: 159.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/4.315, allocations: 5.297 kB / 2.016 GB, free: 159.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001957/4.317, allocations: 1.085 MB / 2.017 GB, free: 159.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004087/4.317, allocations: 1.633 MB / 2.019 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/4.317, allocations: 10.05 kB / 2.019 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/4.317, allocations: 10.52 kB / 2.019 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/4.319, allocations: 299.3 kB / 2.019 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005905/4.32, allocations: 1.189 MB / 2.02 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/4.322, allocations: 220.3 kB / 2.021 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/4.322, allocations: 56.56 kB / 2.021 GB, free: 156.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/4.322, allocations: 7.734 kB / 2.021 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001757/4.324, allocations: 0.9423 MB / 2.021 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/4.324, allocations: 9.094 kB / 2.022 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/4.324, allocations: 11.25 kB / 2.022 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/4.325, allocations: 286.1 kB / 2.022 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/4.325, allocations: 12.97 kB / 2.022 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/4.326, allocations: 203.2 kB / 2.022 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/4.327, allocations: 54.5 kB / 2.022 GB, free: 156.3 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.0003695/4.327, allocations: 172.5 kB / 2.022 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/4.327, allocations: 145.3 kB / 2.022 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/4.329, allocations: 1.064 MB / 2.023 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/4.329, allocations: 15.59 kB / 2.023 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/4.329, allocations: 0 / 2.023 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/4.329, allocations: 7.234 kB / 2.023 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/4.333, allocations: 2.319 MB / 2.026 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/4.333, allocations: 0 / 2.026 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/4.334, allocations: 231.7 kB / 2.026 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/4.334, allocations: 3.188 kB / 2.026 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/4.334, allocations: 29.47 kB / 2.026 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004181/4.335, allocations: 1.189 MB / 2.027 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/4.335, allocations: 7.562 kB / 2.027 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/4.337, allocations: 1.647 MB / 2.029 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008283/4.338, allocations: 363.5 kB / 2.029 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/4.338, allocations: 16.19 kB / 2.029 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/4.34, allocations: 135.1 kB / 2.029 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/4.34, allocations: 73.05 kB / 2.029 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/4.34, allocations: 44.02 kB / 2.029 GB, free: 153.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009914/4.341, allocations: 0.778 MB / 2.03 GB, free: 153.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/4.341, allocations: 0 / 2.03 GB, free: 153.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002723/4.344, allocations: 0.8739 MB / 2.031 GB, free: 153.6 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.004443/4.348, allocations: 3.521 MB / 2.034 GB, free: 152 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003167/4.351, allocations: 1.628 MB / 2.036 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/4.351, allocations: 0.9375 kB / 2.036 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008802/4.352, allocations: 480.8 kB / 2.036 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/4.356, allocations: 0.5777 MB / 2.037 GB, free: 151.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/4.361, allocations: 2.243 MB / 2.039 GB, free: 151.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/4.362, allocations: 1.209 MB / 2.04 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002366/4.364, allocations: 417.8 kB / 2.041 GB, free: 150.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007154/4.365, allocations: 0.5217 MB / 2.041 GB, free: 150.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.31e-07/4.365, allocations: 1.188 kB / 2.041 GB, free: 150.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0991/4.464, allocations: 47.34 MB / 2.087 GB, free: 149.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/4.464, allocations: 270.6 kB / 2.088 GB, free: 148.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.77/8.234, allocations: 2.812 kB / 2.088 GB, free: 148.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)