Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001489/0.001489, allocations: 184.9 kB / 366.7 MB, free: 1.629 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.716/1.716, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0008472/0.0008471, allocations: 85.22 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.316e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.7993, allocations: 116.3 MB / 0.9733 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/2.116, allocations: 390.5 MB / 1.355 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004187/2.116, allocations: 84.45 kB / 1.355 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.382/8.498, allocations: 1.499 GB / 2.854 GB, free: 144.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.685e-06/8.498, allocations: 0 / 2.854 GB, free: 144.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001636/8.498, allocations: 53.94 kB / 2.854 GB, free: 144.4 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.004233/8.503, allocations: 1.891 MB / 2.856 GB, free: 143.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/8.503, allocations: 7.812 kB / 2.856 GB, free: 143.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/8.506, allocations: 0.608 MB / 2.856 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/8.51, allocations: 1.47 MB / 2.858 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/8.51, allocations: 33.66 kB / 2.858 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/8.51, allocations: 73.38 kB / 2.858 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001505/8.512, allocations: 0.8332 MB / 2.859 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/8.513, allocations: 1.058 MB / 2.86 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/8.513, allocations: 3 kB / 2.86 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.184e-05/8.513, allocations: 3.875 kB / 2.86 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/8.513, allocations: 26.09 kB / 2.86 GB, free: 142.8 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.007897/8.521, allocations: 6.482 MB / 2.866 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/8.523, allocations: 0.8963 MB / 2.867 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/8.523, allocations: 495.2 kB / 2.867 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/8.525, allocations: 2.261 MB / 2.87 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008026/8.526, allocations: 0.6407 MB / 2.87 GB, free: 136.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=97): time 3.216e-06/8.526, allocations: 0 / 2.87 GB, free: 136.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=97): time 0.003404/8.529, allocations: 1.396 MB / 2.872 GB, free: 136.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/8.529, allocations: 154.5 kB / 2.872 GB, free: 136 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/8.53, allocations: 0.9096 MB / 2.873 GB, free: 135.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/8.53, allocations: 29.55 kB / 2.873 GB, free: 135.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005279/8.531, allocations: 0.7173 MB / 2.873 GB, free: 135.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/8.531, allocations: 303 kB / 2.874 GB, free: 135.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/8.531, allocations: 4.969 kB / 2.874 GB, free: 135.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/8.531, allocations: 347.1 kB / 2.874 GB, free: 135 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/8.532, allocations: 405.6 kB / 2.874 GB, free: 135 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/8.533, allocations: 0.7027 MB / 2.875 GB, free: 134.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/8.535, allocations: 0.6667 MB / 2.876 GB, free: 134.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/8.535, allocations: 6.594 kB / 2.876 GB, free: 134.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003278/8.538, allocations: 1.556 MB / 2.877 GB, free: 134.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005641/8.538, allocations: 2.249 MB / 2.879 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/8.538, allocations: 7.406 kB / 2.879 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/8.539, allocations: 11.06 kB / 2.879 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/8.54, allocations: 290.6 kB / 2.88 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/8.54, allocations: 14.38 kB / 2.88 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/8.542, allocations: 215.9 kB / 2.88 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/8.542, allocations: 66.62 kB / 2.88 GB, free: 132.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/8.542, allocations: 3.125 kB / 2.88 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003148/8.545, allocations: 1.431 MB / 2.881 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/8.545, allocations: 6.391 kB / 2.881 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/8.545, allocations: 12.47 kB / 2.881 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/8.546, allocations: 289.8 kB / 2.882 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/8.546, allocations: 13.62 kB / 2.882 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/8.548, allocations: 208.7 kB / 2.882 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/8.548, allocations: 64.56 kB / 2.882 GB, free: 132.1 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.0003823/8.549, allocations: 249.8 kB / 2.882 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003519/8.552, allocations: 1.447 MB / 2.884 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/8.552, allocations: 154.2 kB / 2.884 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/8.557, allocations: 1.991 MB / 2.886 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/8.557, allocations: 18.42 kB / 2.886 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/8.557, allocations: 5.719 kB / 2.886 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/8.557, allocations: 7.75 kB / 2.886 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006203/8.563, allocations: 3.204 MB / 2.889 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/8.563, allocations: 3.812 kB / 2.889 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/8.564, allocations: 224.7 kB / 2.889 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/8.564, allocations: 7.297 kB / 2.889 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-05/8.564, allocations: 38.17 kB / 2.889 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/8.564, allocations: 3.781 kB / 2.889 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/8.564, allocations: 4.906 kB / 2.889 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/8.569, allocations: 2.679 MB / 2.892 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000905/8.57, allocations: 391.5 kB / 2.892 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/8.57, allocations: 12.75 kB / 2.892 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/8.571, allocations: 161.3 kB / 2.892 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/8.571, allocations: 73.2 kB / 2.892 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/8.571, allocations: 51.98 kB / 2.892 GB, free: 130.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009805/8.572, allocations: 0.6828 MB / 2.893 GB, free: 130.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.21e-07/8.572, allocations: 0 / 2.893 GB, free: 130.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00283/8.575, allocations: 0.8953 MB / 2.894 GB, free: 130.3 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.006017/8.581, allocations: 4.331 MB / 2.898 GB, free: 128.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002865/8.584, allocations: 2.215 MB / 2.9 GB, free: 127.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/8.584, allocations: 5.344 kB / 2.9 GB, free: 127.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009281/8.585, allocations: 0.8709 MB / 2.901 GB, free: 127.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/8.588, allocations: 0.5339 MB / 2.902 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006631/8.595, allocations: 2.987 MB / 2.905 GB, free: 126.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008351/8.596, allocations: 1.32 MB / 2.906 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002243/8.598, allocations: 483.1 kB / 2.906 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000805/8.599, allocations: 0.6441 MB / 2.907 GB, free: 125 MB / 0.948 GB Notification: Performance of SimCode: time 1.773e-06/8.599, allocations: 0 / 2.907 GB, free: 125 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09238/8.691, allocations: 45.96 MB / 2.952 GB, free: 106.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/8.691, allocations: 190.6 kB / 2.952 GB, free: 106.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.232/12.92, allocations: 4.031 kB / 2.952 GB, free: 106.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)