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.754/1.754, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001063/0.001063, allocations: 172.9 kB / 361.4 MB, free: 6.848 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.563/1.563, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008187/0.0008189, allocations: 84.78 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.435e-05/2.437e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8417/0.8417, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.34/2.182, allocations: 389.5 MB / 1.345 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004181/2.182, allocations: 88.23 kB / 1.345 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.379/8.561, allocations: 1.499 GB / 2.844 GB, free: 153.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.595e-06/8.561, allocations: 0 / 2.844 GB, free: 153.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004471/8.562, allocations: 49.91 kB / 2.844 GB, free: 153.3 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.007513/8.569, allocations: 1.881 MB / 2.846 GB, free: 152.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.026e-05/8.569, allocations: 12.97 kB / 2.846 GB, free: 152.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004019/8.573, allocations: 0.6045 MB / 2.846 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005342/8.579, allocations: 1.485 MB / 2.848 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.705e-05/8.579, allocations: 34.44 kB / 2.848 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000498/8.579, allocations: 71.94 kB / 2.848 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002276/8.582, allocations: 0.8274 MB / 2.849 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/8.584, allocations: 1.059 MB / 2.85 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/8.584, allocations: 0 / 2.85 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/8.584, allocations: 3.875 kB / 2.85 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/8.584, allocations: 28.97 kB / 2.85 GB, free: 151.6 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.01009/8.595, allocations: 6.462 MB / 2.856 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/8.596, allocations: 0.8959 MB / 2.857 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007101/8.597, allocations: 496.2 kB / 2.857 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001613/8.598, allocations: 2.259 MB / 2.86 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009378/8.599, allocations: 0.6469 MB / 2.86 GB, free: 143.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=97): time 5.58e-06/8.599, allocations: 0 / 2.86 GB, free: 143.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=97): time 0.003754/8.603, allocations: 1.397 MB / 2.862 GB, free: 143.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/8.603, allocations: 148.7 kB / 2.862 GB, free: 143.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/8.605, allocations: 0.9096 MB / 2.863 GB, free: 142.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/8.606, allocations: 36.44 kB / 2.863 GB, free: 142.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007619/8.606, allocations: 0.7144 MB / 2.863 GB, free: 142.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/8.607, allocations: 310.5 kB / 2.864 GB, free: 141.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/8.607, allocations: 3.688 kB / 2.864 GB, free: 141.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001068/8.607, allocations: 343.7 kB / 2.864 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006298/8.608, allocations: 408.1 kB / 2.864 GB, free: 141.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009879/8.609, allocations: 0.6978 MB / 2.865 GB, free: 141 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/8.611, allocations: 0.6743 MB / 2.866 GB, free: 140.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/8.611, allocations: 0 / 2.866 GB, free: 140.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003817/8.615, allocations: 1.566 MB / 2.867 GB, free: 140.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008278/8.616, allocations: 2.241 MB / 2.87 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/8.616, allocations: 3.969 kB / 2.87 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.199e-05/8.616, allocations: 11.25 kB / 2.87 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/8.617, allocations: 291.1 kB / 2.87 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/8.617, allocations: 11.75 kB / 2.87 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/8.619, allocations: 217.5 kB / 2.87 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/8.619, allocations: 66.83 kB / 2.87 GB, free: 137.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/8.619, allocations: 0 / 2.87 GB, free: 137.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003281/8.622, allocations: 1.431 MB / 2.871 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/8.622, allocations: 7.719 kB / 2.871 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/8.622, allocations: 13.44 kB / 2.871 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/8.624, allocations: 284.1 kB / 2.872 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/8.624, allocations: 16.86 kB / 2.872 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/8.626, allocations: 204.8 kB / 2.872 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/8.626, allocations: 71.48 kB / 2.872 GB, free: 137.4 MB / 0.948 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 () * 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.0004863/8.627, allocations: 244.5 kB / 2.872 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003915/8.63, allocations: 1.443 MB / 2.874 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005739/8.631, allocations: 155.2 kB / 2.874 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004904/8.636, allocations: 2.005 MB / 2.876 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.139e-05/8.636, allocations: 20.75 kB / 2.876 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/8.636, allocations: 7.641 kB / 2.876 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/8.636, allocations: 3.516 kB / 2.876 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007674/8.644, allocations: 3.203 MB / 2.879 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/8.644, allocations: 3.812 kB / 2.879 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/8.645, allocations: 227.1 kB / 2.879 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.649e-05/8.645, allocations: 6.438 kB / 2.879 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/8.645, allocations: 33.25 kB / 2.879 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/8.645, allocations: 6.344 kB / 2.879 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/8.645, allocations: 2.438 kB / 2.879 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004947/8.65, allocations: 2.683 MB / 2.882 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/8.651, allocations: 399.2 kB / 2.882 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000521/8.652, allocations: 18.66 kB / 2.882 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/8.653, allocations: 159.6 kB / 2.882 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/8.654, allocations: 67.77 kB / 2.882 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/8.654, allocations: 55.53 kB / 2.883 GB, free: 133.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001361/8.655, allocations: 0.6844 MB / 2.883 GB, free: 133.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.81e-07/8.655, allocations: 2.844 kB / 2.883 GB, free: 133.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003786/8.659, allocations: 0.8857 MB / 2.884 GB, free: 132.9 MB / 0.948 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) * 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.007504/8.666, allocations: 4.323 MB / 2.888 GB, free: 130.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003234/8.67, allocations: 2.224 MB / 2.89 GB, free: 129.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/8.67, allocations: 0 / 2.89 GB, free: 129.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/8.671, allocations: 0.8744 MB / 2.891 GB, free: 129.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/8.674, allocations: 0.531 MB / 2.892 GB, free: 129.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007812/8.682, allocations: 2.985 MB / 2.895 GB, free: 128 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/8.683, allocations: 1.318 MB / 2.896 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002861/8.686, allocations: 489.8 kB / 2.896 GB, free: 127.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/8.687, allocations: 0.64 MB / 2.897 GB, free: 126.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/8.687, allocations: 0 / 2.897 GB, free: 126.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09096/8.778, allocations: 45.95 MB / 2.942 GB, free: 92.34 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/8.779, allocations: 202.5 kB / 2.942 GB, free: 92.09 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.993/12.77, allocations: 0 / 2.942 GB, free: 92.09 MB / 0.948 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)