Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009213/0.0009213, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4817/0.4817, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.5 MB / 343.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008471/0.000847, allocations: 105.5 kB / 416 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.743e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1259, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.219, allocations: 353 MB / 0.8984 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/1.219, allocations: 92.11 kB / 0.8985 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.399/4.618, allocations: 0.9472 GB / 1.846 GB, free: 78.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/4.618, allocations: 4 kB / 1.846 GB, free: 78.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000152/4.618, allocations: 51.94 kB / 1.846 GB, free: 78.91 MB / 0.6042 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.004449/4.623, allocations: 1.866 MB / 1.848 GB, free: 77.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.435e-05/4.623, allocations: 11.62 kB / 1.848 GB, free: 77.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/4.627, allocations: 0.5988 MB / 1.848 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/4.63, allocations: 1.436 MB / 1.85 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/4.631, allocations: 32.77 kB / 1.85 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/4.631, allocations: 70.47 kB / 1.85 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001549/4.632, allocations: 0.8597 MB / 1.851 GB, free: 75.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/4.634, allocations: 1.049 MB / 1.852 GB, free: 75.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/4.634, allocations: 5.016 kB / 1.852 GB, free: 75.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/4.634, allocations: 2.875 kB / 1.852 GB, free: 75.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/4.634, allocations: 25.19 kB / 1.852 GB, free: 75.25 MB / 0.6042 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.008046/4.642, allocations: 6.214 MB / 1.858 GB, free: 69.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/4.644, allocations: 0.9163 MB / 1.859 GB, free: 69.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/4.644, allocations: 0.4973 MB / 1.859 GB, free: 69.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/4.646, allocations: 2.262 MB / 1.861 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008197/4.647, allocations: 0.6629 MB / 1.862 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=100): time 4.178e-06/4.647, allocations: 0 / 1.862 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100): time 0.003333/4.65, allocations: 1.466 MB / 1.863 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/4.65, allocations: 140.4 kB / 1.863 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/4.651, allocations: 0.8904 MB / 1.864 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.408e-05/4.651, allocations: 29.55 kB / 1.864 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/4.652, allocations: 0.6954 MB / 1.865 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/4.652, allocations: 318 kB / 1.865 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/4.652, allocations: 0 / 1.865 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/4.652, allocations: 348.1 kB / 1.866 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/4.653, allocations: 404 kB / 1.866 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/4.653, allocations: 0.6333 MB / 1.867 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/4.655, allocations: 0.697 MB / 1.867 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/4.655, allocations: 4 kB / 1.867 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003077/4.658, allocations: 1.564 MB / 1.869 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004506/4.659, allocations: 1.707 MB / 1.871 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/4.659, allocations: 7.672 kB / 1.871 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/4.659, allocations: 14.97 kB / 1.871 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/4.66, allocations: 281 kB / 1.871 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/4.66, allocations: 9.75 kB / 1.871 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/4.662, allocations: 203.8 kB / 1.871 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/4.662, allocations: 69.33 kB / 1.871 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/4.662, allocations: 3.688 kB / 1.871 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002818/4.665, allocations: 1.439 MB / 1.873 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/4.665, allocations: 4 kB / 1.873 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/4.665, allocations: 8 kB / 1.873 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/4.666, allocations: 283.7 kB / 1.873 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/4.666, allocations: 11.94 kB / 1.873 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/4.667, allocations: 207 kB / 1.873 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/4.667, allocations: 59.97 kB / 1.873 GB, free: 57.88 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (111): * Single equations (assignments): 108 * 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.0003114/4.668, allocations: 238 kB / 1.873 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002867/4.671, allocations: 1.497 MB / 1.875 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/4.671, allocations: 154.1 kB / 1.875 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/4.675, allocations: 2.049 MB / 1.877 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/4.675, allocations: 27.5 kB / 1.877 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/4.675, allocations: 0 / 1.877 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/4.675, allocations: 3.984 kB / 1.877 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005406/4.68, allocations: 3.286 MB / 1.88 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/4.68, allocations: 3.938 kB / 1.88 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/4.681, allocations: 235.1 kB / 1.88 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/4.681, allocations: 4 kB / 1.88 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.297e-05/4.681, allocations: 31.97 kB / 1.88 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-06/4.681, allocations: 11.94 kB / 1.88 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/4.681, allocations: 0 / 1.88 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/4.685, allocations: 2.741 MB / 1.883 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/4.686, allocations: 394.6 kB / 1.883 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/4.686, allocations: 21.67 kB / 1.883 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/4.688, allocations: 159.8 kB / 1.884 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/4.688, allocations: 69.05 kB / 1.884 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/4.688, allocations: 55.97 kB / 1.884 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008823/4.689, allocations: 0.6716 MB / 1.884 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/4.689, allocations: 0 / 1.884 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002489/4.691, allocations: 0.8852 MB / 1.885 GB, free: 45.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.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 (104): * Single equations (assignments): 82 * 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.006847/4.698, allocations: 4.382 MB / 1.89 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00309/4.701, allocations: 2.208 MB / 1.892 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/4.701, allocations: 0 / 1.892 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009524/4.702, allocations: 0.8935 MB / 1.893 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/4.705, allocations: 0.5093 MB / 1.893 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/4.711, allocations: 2.756 MB / 1.896 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/4.712, allocations: 1.308 MB / 1.897 GB, free: 33.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001927/4.714, allocations: 489.7 kB / 1.898 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006887/4.714, allocations: 0.6281 MB / 1.898 GB, free: 32.01 MB / 0.6042 GB Notification: Performance of SimCode: time 2.394e-06/4.714, allocations: 7.938 kB / 1.898 GB, free: 32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07986/4.794, allocations: 44.96 MB / 1.942 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/4.794, allocations: 167.4 kB / 1.942 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.708/8.502, allocations: 0 / 1.942 GB, free: 3.656 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)