Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",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.751/1.751, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.001219/0.001219, allocations: 173.6 kB / 371.8 MB, free: 10.33 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.721/1.721, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001033/0.001034, allocations: 92.11 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004358, allocations: 11.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2522, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9938/1.246, allocations: 390.2 MB / 1.361 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.246, allocations: 91.52 kB / 1.361 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.279/7.525, allocations: 1.511 GB / 2.871 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.194e-06/7.525, allocations: 1.188 kB / 2.871 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003531/7.526, allocations: 51.28 kB / 2.871 GB, free: 142.9 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.007912/7.534, allocations: 2.215 MB / 2.873 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/7.534, allocations: 13.53 kB / 2.873 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006711/7.534, allocations: 156.8 kB / 2.874 GB, free: 142.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003885/7.538, allocations: 0.6074 MB / 2.874 GB, free: 142 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005776/7.544, allocations: 1.491 MB / 2.876 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/7.544, allocations: 84.73 kB / 2.876 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005714/7.545, allocations: 117.8 kB / 2.876 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004364/7.549, allocations: 1.369 MB / 2.877 GB, free: 141.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.667e-05/7.549, allocations: 7.656 kB / 2.877 GB, free: 141.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/7.55, allocations: 40.59 kB / 2.877 GB, free: 141.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/7.55, allocations: 28.73 kB / 2.877 GB, free: 141.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003766/7.553, allocations: 1.243 MB / 2.878 GB, free: 141.5 MB / 0.9636 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.01129/7.565, allocations: 6.659 MB / 2.885 GB, free: 137.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003455/7.568, allocations: 1.255 MB / 2.886 GB, free: 137.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/7.57, allocations: 2.26 MB / 2.888 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001929/7.572, allocations: 0.839 MB / 2.889 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=97): time 4.138e-06/7.572, allocations: 0 / 2.889 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=97): time 0.005567/7.577, allocations: 2.479 MB / 2.892 GB, free: 134.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/7.577, allocations: 146.6 kB / 2.892 GB, free: 134.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/7.58, allocations: 1.066 MB / 2.893 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001859/7.58, allocations: 52.33 kB / 2.893 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007681/7.581, allocations: 0.7141 MB / 2.894 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/7.581, allocations: 319.8 kB / 2.894 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/7.581, allocations: 19.03 kB / 2.894 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001098/7.581, allocations: 348.2 kB / 2.894 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/7.583, allocations: 0.5863 MB / 2.895 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/7.585, allocations: 0.8881 MB / 2.896 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/7.586, allocations: 0.7241 MB / 2.896 GB, free: 133 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/7.587, allocations: 0 / 2.896 GB, free: 133 MB / 0.9636 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004732/7.591, allocations: 1.845 MB / 2.898 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000824/7.592, allocations: 2.255 MB / 2.9 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/7.592, allocations: 7.812 kB / 2.9 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.305e-05/7.592, allocations: 11.75 kB / 2.9 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/7.594, allocations: 295.6 kB / 2.901 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.961e-05/7.594, allocations: 14.38 kB / 2.901 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/7.596, allocations: 244.5 kB / 2.901 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/7.597, allocations: 67.23 kB / 2.901 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/7.597, allocations: 5.75 kB / 2.901 GB, free: 130.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004126/7.601, allocations: 1.748 MB / 2.903 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/7.601, allocations: 6.062 kB / 2.903 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/7.601, allocations: 11.22 kB / 2.903 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/7.602, allocations: 290.6 kB / 2.903 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.44e-05/7.602, allocations: 11.14 kB / 2.903 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/7.604, allocations: 248.6 kB / 2.903 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/7.605, allocations: 65.23 kB / 2.903 GB, free: 130.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001073/7.606, allocations: 0.4958 MB / 2.904 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005828/7.606, allocations: 159.8 kB / 2.904 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006235/7.612, allocations: 2.353 MB / 2.906 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.655e-05/7.613, allocations: 14.67 kB / 2.906 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/7.613, allocations: 1.188 kB / 2.906 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/7.613, allocations: 7.562 kB / 2.906 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/7.624, allocations: 3.698 MB / 2.91 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/7.624, allocations: 5.906 kB / 2.91 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/7.626, allocations: 228.3 kB / 2.91 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-05/7.626, allocations: 5.312 kB / 2.91 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/7.626, allocations: 44.67 kB / 2.91 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/7.626, allocations: 4.562 kB / 2.91 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/7.626, allocations: 2.031 kB / 2.91 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/7.637, allocations: 3.206 MB / 2.913 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/7.639, allocations: 411.7 kB / 2.914 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009452/7.64, allocations: 29.81 kB / 2.914 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/7.643, allocations: 168.3 kB / 2.914 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003265/7.643, allocations: 71.98 kB / 2.914 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/7.643, allocations: 56.47 kB / 2.914 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002928/7.646, allocations: 0.8287 MB / 2.915 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.123e-06/7.646, allocations: 3.062 kB / 2.915 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005747/7.652, allocations: 0.9207 MB / 2.916 GB, free: 128.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01294/7.665, allocations: 4.86 MB / 2.92 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007835/7.673, allocations: 2.77 MB / 2.923 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/7.673, allocations: 0 / 2.923 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002689/7.676, allocations: 1.073 MB / 2.924 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004968/7.681, allocations: 0.6236 MB / 2.925 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02981/7.711, allocations: 14.11 MB / 2.939 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/7.712, allocations: 1.316 MB / 2.94 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002301/7.714, allocations: 427.6 kB / 2.94 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00095/7.715, allocations: 0.6622 MB / 2.941 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.453e-06/7.715, allocations: 0 / 2.941 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08676/7.802, allocations: 51.08 MB / 2.991 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/7.802, allocations: 240.8 kB / 2.991 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.341/12.14, allocations: 3.375 kB / 2.991 GB, free: 116.1 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)