Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u",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.7811/0.7811, allocations: 127.4 MB / 134.9 MB, free: 3.438 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.001219/0.001219, allocations: 193.2 kB / 164.7 MB, free: 11.62 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.893/1.893, allocations: 205.2 MB / 399.5 MB, free: 13.56 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.00111/0.00111, allocations: 104.3 kB / 476.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.192e-05, allocations: 3.344 kB / 0.5467 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2058, allocations: 76.77 MB / 0.6216 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.328/6.534, allocations: 2.163 GB / 2.784 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/6.534, allocations: 100.4 kB / 2.784 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.904/10.44, allocations: 1.02 GB / 3.804 GB, free: 87.07 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.313e-06/10.44, allocations: 1.031 kB / 3.804 GB, free: 87.07 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001884/10.44, allocations: 53.25 kB / 3.804 GB, free: 87.07 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.005782/10.44, allocations: 2.084 MB / 3.806 GB, free: 86.19 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/10.44, allocations: 11.06 kB / 3.806 GB, free: 86.19 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004288/10.45, allocations: 0.6093 MB / 3.807 GB, free: 86.09 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004499/10.45, allocations: 1.579 MB / 3.808 GB, free: 85.75 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/10.45, allocations: 40.09 kB / 3.808 GB, free: 85.74 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/10.45, allocations: 76.48 kB / 3.808 GB, free: 85.74 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001931/10.46, allocations: 0.944 MB / 3.809 GB, free: 85.73 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/10.46, allocations: 1.177 MB / 3.81 GB, free: 85.54 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/10.46, allocations: 3.781 kB / 3.81 GB, free: 85.54 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/10.46, allocations: 1.688 kB / 3.81 GB, free: 85.54 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/10.46, allocations: 42.94 kB / 3.811 GB, free: 85.53 MB / 0.6667 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.008233/10.47, allocations: 5.405 MB / 3.816 GB, free: 83.29 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/10.47, allocations: 0.912 MB / 3.817 GB, free: 83.07 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/10.47, allocations: 438.6 kB / 3.817 GB, free: 83.06 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/10.47, allocations: 297 kB / 3.817 GB, free: 82.78 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006988/10.47, allocations: 493 kB / 3.818 GB, free: 82.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=86): time 3.346e-06/10.47, allocations: 0 / 3.818 GB, free: 82.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94): time 0.00791/10.48, allocations: 2.89 MB / 3.821 GB, free: 82.09 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/10.48, allocations: 197.8 kB / 3.821 GB, free: 81.88 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/10.48, allocations: 0.8833 MB / 3.822 GB, free: 81.73 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/10.48, allocations: 29.39 kB / 3.822 GB, free: 81.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006267/10.48, allocations: 0.7551 MB / 3.822 GB, free: 81.48 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.00028/10.48, allocations: 316.6 kB / 3.823 GB, free: 81.27 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/10.48, allocations: 0 / 3.823 GB, free: 81.27 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.395e-05/10.48, allocations: 336.2 kB / 3.823 GB, free: 80.96 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/10.48, allocations: 348.2 kB / 3.823 GB, free: 80.96 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/10.48, allocations: 0.5708 MB / 3.824 GB, free: 80.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/10.48, allocations: 1.217 MB / 3.825 GB, free: 80.58 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/10.48, allocations: 0 / 3.825 GB, free: 80.58 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004283/10.49, allocations: 1.536 MB / 3.827 GB, free: 80.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003309/10.49, allocations: 1.293 MB / 3.828 GB, free: 79.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/10.49, allocations: 3.312 kB / 3.828 GB, free: 79.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009028/10.49, allocations: 369.3 kB / 3.828 GB, free: 79.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/10.49, allocations: 153.2 kB / 3.828 GB, free: 79.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006773/10.5, allocations: 6.359 MB / 3.835 GB, free: 74.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/10.5, allocations: 88.19 kB / 3.835 GB, free: 74.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/10.5, allocations: 36.78 kB / 3.835 GB, free: 74.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/10.5, allocations: 6.125 kB / 3.835 GB, free: 74.73 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003397/10.5, allocations: 1.359 MB / 3.836 GB, free: 74.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/10.5, allocations: 13.23 kB / 3.836 GB, free: 74.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000884/10.5, allocations: 359.4 kB / 3.836 GB, free: 74.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/10.5, allocations: 134.5 kB / 3.837 GB, free: 74.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008341/10.51, allocations: 7.248 MB / 3.844 GB, free: 69.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/10.51, allocations: 69.22 kB / 3.844 GB, free: 69.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/10.51, allocations: 43.48 kB / 3.844 GB, free: 69.43 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004925/10.52, allocations: 169.6 kB / 3.844 GB, free: 69.29 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003533/10.52, allocations: 1.242 MB / 3.845 GB, free: 69.14 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004539/10.52, allocations: 157.5 kB / 3.845 GB, free: 69.07 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/10.52, allocations: 1.299 MB / 3.847 GB, free: 68.97 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/10.52, allocations: 7.062 kB / 3.847 GB, free: 68.97 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/10.52, allocations: 6.094 kB / 3.847 GB, free: 68.97 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002742/10.53, allocations: 1.198 MB / 3.848 GB, free: 68.77 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00671/10.53, allocations: 2.943 MB / 3.851 GB, free: 68.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/10.53, allocations: 3.875 kB / 3.851 GB, free: 68.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/10.53, allocations: 170 kB / 3.851 GB, free: 68.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003905/10.53, allocations: 151.9 kB / 3.851 GB, free: 68.23 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-05/10.53, allocations: 19.95 kB / 3.851 GB, free: 68.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004096/10.54, allocations: 3.318 MB / 3.854 GB, free: 65.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/10.54, allocations: 14.06 kB / 3.854 GB, free: 65.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004667/10.54, allocations: 2.189 MB / 3.856 GB, free: 65.01 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/10.54, allocations: 334.9 kB / 3.857 GB, free: 64.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006212/10.54, allocations: 14 kB / 3.857 GB, free: 64.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/10.55, allocations: 97.91 kB / 3.857 GB, free: 64.83 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/10.55, allocations: 70.33 kB / 3.857 GB, free: 64.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/10.55, allocations: 37.8 kB / 3.857 GB, free: 64.82 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001673/10.55, allocations: 0.6765 MB / 3.858 GB, free: 64.71 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/10.55, allocations: 0 / 3.858 GB, free: 64.71 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005716/10.55, allocations: 0.9274 MB / 3.858 GB, free: 64.68 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.009408/10.56, allocations: 6.272 MB / 3.865 GB, free: 61.77 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004051/10.57, allocations: 2.472 MB / 3.867 GB, free: 60.88 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/10.57, allocations: 0.9688 kB / 3.867 GB, free: 60.88 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/10.57, allocations: 0.7702 MB / 3.868 GB, free: 60.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004473/10.57, allocations: 0.7079 MB / 3.868 GB, free: 60.58 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008662/10.58, allocations: 2.833 MB / 3.871 GB, free: 59.77 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/10.58, allocations: 1.399 MB / 3.873 GB, free: 59.05 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002251/10.59, allocations: 428.1 kB / 3.873 GB, free: 59.03 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007247/10.59, allocations: 0.614 MB / 3.874 GB, free: 59.02 MB / 0.6667 GB Notification: Performance of SimCode: time 1.603e-06/10.59, allocations: 0 / 3.874 GB, free: 59.02 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/10.71, allocations: 63.92 MB / 3.936 GB, free: 48.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/10.71, allocations: 183.7 kB / 3.936 GB, free: 48.15 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.261/14.97, allocations: 0 / 3.936 GB, free: 48.15 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)