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.7322/0.7322, allocations: 128.7 MB / 143.7 MB, free: 2.336 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.001264/0.001264, allocations: 168.5 kB / 173.7 MB, free: 6.148 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.414/1.414, allocations: 205.4 MB / 409 MB, free: 10.5 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.0008321/0.0008321, allocations: 97.72 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 9.281 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1309, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.481/4.612, allocations: 2.163 GB / 2.799 GB, free: 212.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/4.612, allocations: 100.5 kB / 2.799 GB, free: 212.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.634/8.246, allocations: 1.032 GB / 3.831 GB, free: 80.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.513e-06/8.246, allocations: 0 / 3.831 GB, free: 80.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002808/8.246, allocations: 49.59 kB / 3.831 GB, free: 80.89 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.006819/8.253, allocations: 2.39 MB / 3.833 GB, free: 79.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/8.253, allocations: 10.69 kB / 3.833 GB, free: 79.8 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006265/8.254, allocations: 180.6 kB / 3.833 GB, free: 79.76 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/8.258, allocations: 0.6149 MB / 3.834 GB, free: 79.65 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004832/8.263, allocations: 1.588 MB / 3.835 GB, free: 79.27 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/8.263, allocations: 91.22 kB / 3.836 GB, free: 79.26 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004828/8.263, allocations: 130.3 kB / 3.836 GB, free: 79.26 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003989/8.267, allocations: 1.44 MB / 3.837 GB, free: 79.05 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.718e-05/8.267, allocations: 3.781 kB / 3.837 GB, free: 79.05 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/8.268, allocations: 47.53 kB / 3.837 GB, free: 79.05 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/8.268, allocations: 40.69 kB / 3.837 GB, free: 79.05 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/8.271, allocations: 1.154 MB / 3.838 GB, free: 79.03 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008717/8.279, allocations: 5.655 MB / 3.844 GB, free: 76.67 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/8.281, allocations: 1.085 MB / 3.845 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000481/8.282, allocations: 309.2 kB / 3.845 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/8.283, allocations: 0.5859 MB / 3.846 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=86): time 2.685e-06/8.283, allocations: 7.781 kB / 3.846 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94): time 0.01011/8.293, allocations: 3.923 MB / 3.85 GB, free: 75.03 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/8.293, allocations: 196.4 kB / 3.85 GB, free: 74.81 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/8.295, allocations: 1.127 MB / 3.851 GB, free: 74.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/8.295, allocations: 47.8 kB / 3.851 GB, free: 74.63 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005522/8.296, allocations: 0.7456 MB / 3.852 GB, free: 74.4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/8.296, allocations: 325.2 kB / 3.852 GB, free: 74.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/8.296, allocations: 20.69 kB / 3.852 GB, free: 74.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/8.296, allocations: 343.6 kB / 3.852 GB, free: 73.89 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007771/8.297, allocations: 418 kB / 3.853 GB, free: 73.89 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/8.298, allocations: 0.6345 MB / 3.853 GB, free: 73.65 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007234/8.305, allocations: 1.684 MB / 3.855 GB, free: 73.48 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/8.305, allocations: 0 / 3.855 GB, free: 73.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004048/8.309, allocations: 1.641 MB / 3.857 GB, free: 73.28 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003109/8.309, allocations: 1.306 MB / 3.858 GB, free: 71.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/8.309, allocations: 2.562 kB / 3.858 GB, free: 71.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/8.311, allocations: 394 kB / 3.858 GB, free: 71.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/8.311, allocations: 149.8 kB / 3.858 GB, free: 71.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006297/8.317, allocations: 6.886 MB / 3.865 GB, free: 67.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/8.319, allocations: 121.3 kB / 3.865 GB, free: 67.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/8.319, allocations: 40.39 kB / 3.865 GB, free: 67.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/8.319, allocations: 5.219 kB / 3.865 GB, free: 67.41 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002884/8.322, allocations: 1.435 MB / 3.867 GB, free: 67.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/8.322, allocations: 7.406 kB / 3.867 GB, free: 67.22 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009308/8.323, allocations: 368.9 kB / 3.867 GB, free: 67.19 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/8.324, allocations: 137.9 kB / 3.867 GB, free: 67.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007096/8.331, allocations: 7.83 MB / 3.875 GB, free: 61.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/8.333, allocations: 106.6 kB / 3.875 GB, free: 61.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/8.333, allocations: 42.83 kB / 3.875 GB, free: 61.84 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. 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 () * Number of clocked 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.001198/8.334, allocations: 0.5045 MB / 3.875 GB, free: 61.62 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004266/8.334, allocations: 167 kB / 3.876 GB, free: 61.54 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/8.339, allocations: 1.49 MB / 3.877 GB, free: 61.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/8.339, allocations: 10.03 kB / 3.877 GB, free: 61.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/8.339, allocations: 0 / 3.877 GB, free: 61.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003275/8.342, allocations: 1.34 MB / 3.878 GB, free: 61.17 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006815/8.349, allocations: 3.242 MB / 3.882 GB, free: 60.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/8.349, allocations: 3.906 kB / 3.882 GB, free: 60.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008009/8.35, allocations: 171 kB / 3.882 GB, free: 60.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005129/8.35, allocations: 170.1 kB / 3.882 GB, free: 60.57 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-05/8.35, allocations: 35.8 kB / 3.882 GB, free: 60.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004759/8.355, allocations: 3.57 MB / 3.885 GB, free: 57.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/8.355, allocations: 4.281 kB / 3.885 GB, free: 57.92 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004467/8.359, allocations: 2.415 MB / 3.888 GB, free: 57.19 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008277/8.36, allocations: 343.6 kB / 3.888 GB, free: 57.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/8.361, allocations: 32.31 kB / 3.888 GB, free: 57.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/8.362, allocations: 116.6 kB / 3.888 GB, free: 57 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/8.362, allocations: 74.69 kB / 3.888 GB, free: 57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.579e-05/8.362, allocations: 39.3 kB / 3.888 GB, free: 57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001372/8.364, allocations: 0.8887 MB / 3.889 GB, free: 56.89 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/8.364, allocations: 0 / 3.889 GB, free: 56.89 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003533/8.367, allocations: 0.9807 MB / 3.89 GB, free: 56.86 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.Xi[1],heaDyn.vol.dynBal.medium.T,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) * Number of clocked states: 0 () * 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.007906/8.375, allocations: 6.231 MB / 3.896 GB, free: 53.93 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003777/8.379, allocations: 2.703 MB / 3.899 GB, free: 52.99 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/8.379, allocations: 7.844 kB / 3.899 GB, free: 52.98 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/8.38, allocations: 0.8559 MB / 3.9 GB, free: 52.69 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/8.383, allocations: 0.8311 MB / 3.901 GB, free: 52.66 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/8.402, allocations: 12.4 MB / 3.913 GB, free: 47.04 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/8.403, allocations: 1.403 MB / 3.914 GB, free: 46.32 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001832/8.405, allocations: 345.1 kB / 3.914 GB, free: 46.28 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008561/8.406, allocations: 0.6353 MB / 3.915 GB, free: 45.79 MB / 0.6667 GB Notification: Performance of SimCode: time 7.91e-07/8.406, allocations: 0 / 3.915 GB, free: 45.79 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/8.528, allocations: 84.09 MB / 3.997 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/8.528, allocations: 274.4 kB / 3.997 GB, free: 124 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.596/13.12, allocations: 0 / 3.997 GB, free: 124 kB / 0.6823 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)