Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7409/0.7409, allocations: 127.4 MB / 134.9 MB, free: 3.719 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 184.9 kB / 164.7 MB, free: 6.535 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.2 MB / 399.5 MB, free: 5.867 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001004, allocations: 90.41 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.152e-05, allocations: 4 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1844, allocations: 76.75 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.437, allocations: 350 MB / 0.9635 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.438, allocations: 83.95 kB / 0.9635 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.318/4.756, allocations: 0.8943 GB / 1.858 GB, free: 26.13 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.144e-06/4.756, allocations: 0 / 1.858 GB, free: 26.13 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001502/4.756, allocations: 56.86 kB / 1.858 GB, free: 26.08 MB / 0.6511 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.003301/4.76, allocations: 1.876 MB / 1.86 GB, free: 24.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/4.76, allocations: 16.03 kB / 1.86 GB, free: 24.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/4.763, allocations: 0.6027 MB / 1.86 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/4.766, allocations: 1.482 MB / 1.862 GB, free: 22.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/4.766, allocations: 36 kB / 1.862 GB, free: 22.01 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/4.766, allocations: 64.69 kB / 1.862 GB, free: 21.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001442/4.767, allocations: 0.8553 MB / 1.863 GB, free: 21.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/4.769, allocations: 1.055 MB / 1.864 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/4.769, allocations: 0 / 1.864 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.012e-05/4.769, allocations: 4 kB / 1.864 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/4.769, allocations: 24 kB / 1.864 GB, free: 19.94 MB / 0.6511 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.007739/4.777, allocations: 6.859 MB / 1.87 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/4.778, allocations: 0.8607 MB / 1.871 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/4.779, allocations: 473.8 kB / 1.872 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/4.78, allocations: 2.086 MB / 1.874 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007422/4.781, allocations: 0.6257 MB / 1.874 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=91): time 6.382e-06/4.781, allocations: 3.516 kB / 1.874 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of matching and sorting (n=91): time 0.003703/4.784, allocations: 1.446 MB / 1.876 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/4.784, allocations: 149.3 kB / 1.876 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/4.786, allocations: 0.9267 MB / 1.877 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.42e-05/4.786, allocations: 33.69 kB / 1.877 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/4.786, allocations: 0.7203 MB / 1.878 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/4.786, allocations: 291.7 kB / 1.878 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/4.787, allocations: 3.938 kB / 1.878 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.308e-05/4.787, allocations: 348.3 kB / 1.878 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/4.787, allocations: 418.5 kB / 1.879 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/4.788, allocations: 0.669 MB / 1.879 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/4.79, allocations: 0.7032 MB / 1.88 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/4.79, allocations: 3.938 kB / 1.88 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003243/4.793, allocations: 1.589 MB / 1.882 GB, free: 476 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008717/4.794, allocations: 1.709 MB / 1.883 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/4.794, allocations: 4 kB / 1.883 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/4.794, allocations: 12 kB / 1.883 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/4.795, allocations: 291.6 kB / 1.883 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/4.795, allocations: 11.98 kB / 1.884 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/4.797, allocations: 230.9 kB / 1.884 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/4.797, allocations: 71.91 kB / 1.884 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/4.797, allocations: 4 kB / 1.884 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003343/4.801, allocations: 1.425 MB / 1.885 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/4.801, allocations: 8.125 kB / 1.885 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/4.801, allocations: 8 kB / 1.885 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/4.802, allocations: 279.6 kB / 1.885 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/4.802, allocations: 11.94 kB / 1.885 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/4.804, allocations: 198.7 kB / 1.886 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/4.804, allocations: 59.97 kB / 1.886 GB, free: 12 MB / 0.6667 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 (110): * Single equations (assignments): 107 * 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.0004585/4.804, allocations: 232.6 kB / 1.886 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003464/4.808, allocations: 1.453 MB / 1.887 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000391/4.808, allocations: 150.2 kB / 1.888 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004471/4.813, allocations: 1.912 MB / 1.889 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/4.813, allocations: 15.98 kB / 1.889 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/4.813, allocations: 0 / 1.889 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/4.813, allocations: 3.984 kB / 1.889 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/4.816, allocations: 1.208 MB / 1.891 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/4.816, allocations: 0 / 1.891 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/4.817, allocations: 227.7 kB / 1.891 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.207e-05/4.817, allocations: 4 kB / 1.891 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/4.817, allocations: 31.97 kB / 1.891 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/4.817, allocations: 7.938 kB / 1.891 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/4.817, allocations: 0 / 1.891 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/4.823, allocations: 2.422 MB / 1.893 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007452/4.823, allocations: 238.9 kB / 1.893 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004722/4.824, allocations: 12 kB / 1.893 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/4.825, allocations: 151.8 kB / 1.894 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/4.826, allocations: 67.53 kB / 1.894 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/4.826, allocations: 47.97 kB / 1.894 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001554/4.827, allocations: 0.6962 MB / 1.894 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/4.827, allocations: 0 / 1.894 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003776/4.831, allocations: 0.8813 MB / 1.895 GB, free: 2.137 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 15 * 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.6184/5.45, allocations: 3.732 MB / 1.899 GB, free: 71.69 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004138/5.454, allocations: 2.171 MB / 1.901 GB, free: 71.29 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/5.454, allocations: 0 / 1.901 GB, free: 71.29 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/5.455, allocations: 0.831 MB / 1.902 GB, free: 71.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/5.458, allocations: 0.5295 MB / 1.902 GB, free: 71.09 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/5.465, allocations: 2.666 MB / 1.905 GB, free: 70.47 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/5.466, allocations: 1.302 MB / 1.906 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002369/5.468, allocations: 487.7 kB / 1.907 GB, free: 69.74 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007806/5.469, allocations: 0.6423 MB / 1.907 GB, free: 69.74 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/5.469, allocations: 0 / 1.907 GB, free: 69.74 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/5.58, allocations: 46.1 MB / 1.952 GB, free: 67.85 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/5.58, allocations: 186 kB / 1.952 GB, free: 67.66 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.97/9.55, allocations: 0 / 1.952 GB, free: 67.66 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)