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.7382/0.7382, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001357/0.001357, allocations: 172.9 kB / 169.7 MB, free: 1.73 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.834/1.834, allocations: 205.1 MB / 404.5 MB, free: 1.602 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.001065/0.001064, allocations: 86.3 kB / 481.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.564e-05, allocations: 0 / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1758, allocations: 76.76 MB / 0.6283 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.337/1.513, allocations: 350.5 MB / 0.9706 GB, free: 161.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/1.514, allocations: 85.95 kB / 0.9706 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.291/4.805, allocations: 0.899 GB / 1.87 GB, free: 18.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.645e-06/4.805, allocations: 0 / 1.87 GB, free: 18.57 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001679/4.805, allocations: 51.98 kB / 1.87 GB, free: 18.52 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.003761/4.809, allocations: 1.872 MB / 1.872 GB, free: 16.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/4.809, allocations: 12.03 kB / 1.872 GB, free: 16.58 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/4.809, allocations: 148.5 kB / 1.872 GB, free: 16.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/4.812, allocations: 0.6066 MB / 1.872 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003751/4.816, allocations: 1.483 MB / 1.874 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/4.816, allocations: 82.69 kB / 1.874 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/4.816, allocations: 108 kB / 1.874 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/4.819, allocations: 1.262 MB / 1.875 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/4.819, allocations: 7.703 kB / 1.875 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/4.819, allocations: 40 kB / 1.875 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/4.819, allocations: 24 kB / 1.875 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/4.821, allocations: 1.007 MB / 1.876 GB, free: 11.7 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.008499/4.83, allocations: 6.274 MB / 1.882 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/4.832, allocations: 0.9944 MB / 1.883 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006196/4.832, allocations: 0.4951 MB / 1.884 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/4.834, allocations: 2.264 MB / 1.886 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/4.835, allocations: 0.7437 MB / 1.887 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=95): time 4.519e-06/4.835, allocations: 0 / 1.887 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95): time 0.0037/4.839, allocations: 1.447 MB / 1.888 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/4.839, allocations: 145.2 kB / 1.888 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/4.841, allocations: 1.046 MB / 1.889 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/4.841, allocations: 45.7 kB / 1.889 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006731/4.842, allocations: 0.7172 MB / 1.89 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/4.842, allocations: 307.5 kB / 1.89 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/4.842, allocations: 20 kB / 1.89 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001637/4.842, allocations: 349.9 kB / 1.891 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/4.843, allocations: 437.9 kB / 1.891 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009786/4.844, allocations: 0.6803 MB / 1.892 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/4.845, allocations: 0.5543 MB / 1.892 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/4.845, allocations: 0 / 1.892 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00323/4.848, allocations: 1.491 MB / 1.894 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000983/4.849, allocations: 1.718 MB / 1.895 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/4.849, allocations: 4 kB / 1.895 GB, free: 6.574 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.227e-05/4.849, allocations: 11.98 kB / 1.895 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/4.851, allocations: 298.3 kB / 1.896 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.676e-05/4.851, allocations: 11.95 kB / 1.896 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/4.854, allocations: 242.9 kB / 1.896 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/4.854, allocations: 67.95 kB / 1.896 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/4.854, allocations: 4 kB / 1.896 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002925/4.857, allocations: 1.362 MB / 1.897 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/4.857, allocations: 4 kB / 1.897 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/4.857, allocations: 8 kB / 1.897 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/4.858, allocations: 284 kB / 1.898 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/4.858, allocations: 8 kB / 1.898 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/4.86, allocations: 227 kB / 1.898 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/4.86, allocations: 63.97 kB / 1.898 GB, free: 3.984 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.000506/4.861, allocations: 275.4 kB / 1.898 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/4.861, allocations: 169.5 kB / 1.898 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/4.865, allocations: 2.054 MB / 1.9 GB, free: 1.445 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.663e-05/4.865, allocations: 19.98 kB / 1.9 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/4.865, allocations: 0 / 1.9 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/4.865, allocations: 7.969 kB / 1.9 GB, free: 1.418 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5925/5.458, allocations: 1.379 MB / 1.902 GB, free: 66.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.509e-05/5.458, allocations: 0 / 1.902 GB, free: 66.24 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/5.46, allocations: 238 kB / 1.902 GB, free: 66.24 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/5.46, allocations: 4.031 kB / 1.902 GB, free: 66.24 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002457/5.46, allocations: 40.66 kB / 1.902 GB, free: 66.24 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/5.46, allocations: 4.562 kB / 1.902 GB, free: 66.24 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/5.46, allocations: 0 / 1.902 GB, free: 66.24 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00523/5.465, allocations: 2.515 MB / 1.904 GB, free: 66.06 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008082/5.466, allocations: 248.2 kB / 1.905 GB, free: 65.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/5.466, allocations: 26.78 kB / 1.905 GB, free: 65.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/5.468, allocations: 187.9 kB / 1.905 GB, free: 65.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/5.468, allocations: 66.41 kB / 1.905 GB, free: 65.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/5.468, allocations: 53.3 kB / 1.905 GB, free: 65.93 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001692/5.47, allocations: 0.8162 MB / 1.906 GB, free: 65.81 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.92e-07/5.47, allocations: 1.438 kB / 1.906 GB, free: 65.81 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003944/5.474, allocations: 0.9151 MB / 1.907 GB, free: 65.79 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 (97): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 18 * 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.008/5.482, allocations: 3.841 MB / 1.91 GB, free: 64.91 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004437/5.486, allocations: 2.296 MB / 1.913 GB, free: 64.51 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/5.486, allocations: 0 / 1.913 GB, free: 64.51 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/5.488, allocations: 0.8901 MB / 1.914 GB, free: 64.32 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/5.491, allocations: 0.6143 MB / 1.914 GB, free: 64.31 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006814/5.498, allocations: 2.826 MB / 1.917 GB, free: 63.68 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/5.499, allocations: 1.309 MB / 1.918 GB, free: 62.96 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002509/5.502, allocations: 496.1 kB / 1.919 GB, free: 62.94 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008726/5.502, allocations: 0.6464 MB / 1.919 GB, free: 62.94 MB / 0.6667 GB Notification: Performance of SimCode: time 9.81e-07/5.502, allocations: 2.312 kB / 1.919 GB, free: 62.94 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/5.617, allocations: 55.24 MB / 1.973 GB, free: 60.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/5.617, allocations: 209.8 kB / 1.973 GB, free: 60.48 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.427/10.04, allocations: 4 kB / 1.973 GB, free: 60.48 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)