Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 249.5 MB / 257 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 176.9 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009191/0.0009191, allocations: 94.47 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.946e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2207, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.607/1.827, allocations: 441.7 MB / 1.317 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.828, allocations: 103.2 kB / 1.317 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.422/7.249, allocations: 1.44 GB / 2.757 GB, free: 85.16 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.404e-06/7.249, allocations: 0 / 2.757 GB, free: 85.16 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005168/7.25, allocations: 90.92 kB / 2.757 GB, free: 85.14 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01023/7.26, allocations: 3.257 MB / 2.76 GB, free: 83.64 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/7.26, allocations: 12.06 kB / 2.76 GB, free: 83.64 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/7.265, allocations: 0.7942 MB / 2.761 GB, free: 83.45 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008851/7.274, allocations: 3.381 MB / 2.764 GB, free: 82.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/7.275, allocations: 346.7 kB / 2.764 GB, free: 82.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007556/7.276, allocations: 129.1 kB / 2.764 GB, free: 82.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003707/7.28, allocations: 1.814 MB / 2.766 GB, free: 82.83 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/7.283, allocations: 2.04 MB / 2.768 GB, free: 82.54 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/7.283, allocations: 2.906 kB / 2.768 GB, free: 82.54 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/7.284, allocations: 2.688 kB / 2.768 GB, free: 82.54 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.169e-05/7.284, allocations: 47.28 kB / 2.768 GB, free: 82.54 MB / 0.9167 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.01885/7.302, allocations: 12.26 MB / 2.78 GB, free: 76.59 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/7.304, allocations: 1.296 MB / 2.781 GB, free: 76.37 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008933/7.305, allocations: 0.6875 MB / 2.782 GB, free: 76.36 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/7.307, allocations: 1.646 MB / 2.784 GB, free: 74.57 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/7.308, allocations: 0.764 MB / 2.784 GB, free: 74.48 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001875/7.31, allocations: 141 kB / 2.785 GB, free: 74.43 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=127): time 4.829e-06/7.31, allocations: 0 / 2.785 GB, free: 74.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=127): time 0.004595/7.314, allocations: 1.715 MB / 2.786 GB, free: 74.21 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/7.314, allocations: 221.1 kB / 2.787 GB, free: 73.96 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003674/7.318, allocations: 1.892 MB / 2.788 GB, free: 73.73 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002584/7.318, allocations: 31.39 kB / 2.788 GB, free: 73.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001439/7.32, allocations: 1.351 MB / 2.79 GB, free: 73.27 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/7.32, allocations: 427.3 kB / 2.79 GB, free: 72.99 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.557e-05/7.32, allocations: 3.469 kB / 2.79 GB, free: 72.99 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001453/7.321, allocations: 362.7 kB / 2.79 GB, free: 72.68 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009734/7.321, allocations: 0.5864 MB / 2.791 GB, free: 72.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/7.323, allocations: 1.033 MB / 2.792 GB, free: 72.19 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/7.325, allocations: 0.8478 MB / 2.793 GB, free: 72.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/7.325, allocations: 3.531 kB / 2.793 GB, free: 72.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.005533/7.331, allocations: 2.112 MB / 2.795 GB, free: 71.96 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001138/7.332, allocations: 3.464 MB / 2.798 GB, free: 68.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/7.332, allocations: 12.89 kB / 2.798 GB, free: 68.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/7.332, allocations: 98.81 kB / 2.798 GB, free: 68.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/7.334, allocations: 436.6 kB / 2.799 GB, free: 68.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/7.335, allocations: 1.222 MB / 2.8 GB, free: 67.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003979/7.339, allocations: 274.2 kB / 2.8 GB, free: 67.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003244/7.34, allocations: 86.83 kB / 2.8 GB, free: 67.29 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/7.34, allocations: 3.812 kB / 2.8 GB, free: 67.29 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004516/7.344, allocations: 1.78 MB / 2.802 GB, free: 67.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/7.344, allocations: 9.312 kB / 2.802 GB, free: 67.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/7.345, allocations: 105.7 kB / 2.802 GB, free: 67.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/7.346, allocations: 433.5 kB / 2.803 GB, free: 67.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/7.349, allocations: 3.15 MB / 2.806 GB, free: 64.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/7.352, allocations: 263.8 kB / 2.806 GB, free: 64.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/7.352, allocations: 83.81 kB / 2.806 GB, free: 64.45 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 174 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 prepare postOptimizeDAE: time 0.0005486/7.353, allocations: 182.6 kB / 2.806 GB, free: 64.29 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004185/7.357, allocations: 1.675 MB / 2.808 GB, free: 64.05 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004638/7.357, allocations: 282.2 kB / 2.808 GB, free: 63.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/7.362, allocations: 2.177 MB / 2.81 GB, free: 63.72 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/7.362, allocations: 21.42 kB / 2.81 GB, free: 63.72 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/7.362, allocations: 7.562 kB / 2.81 GB, free: 63.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003151/7.365, allocations: 1.762 MB / 2.812 GB, free: 63.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009547/7.375, allocations: 4.73 MB / 2.817 GB, free: 62.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/7.375, allocations: 3.781 kB / 2.817 GB, free: 62.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/7.376, allocations: 328.3 kB / 2.817 GB, free: 62.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/7.377, allocations: 79.75 kB / 2.817 GB, free: 62.65 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/7.377, allocations: 36.06 kB / 2.817 GB, free: 62.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006089/7.377, allocations: 1.183 MB / 2.818 GB, free: 61.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/7.377, allocations: 3.938 kB / 2.818 GB, free: 61.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005574/7.383, allocations: 3.203 MB / 2.821 GB, free: 60.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002004/7.385, allocations: 0.6357 MB / 2.822 GB, free: 60.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004451/7.385, allocations: 11.34 kB / 2.822 GB, free: 60.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/7.388, allocations: 248.2 kB / 2.822 GB, free: 60.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/7.388, allocations: 100.2 kB / 2.822 GB, free: 60.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/7.388, allocations: 77.11 kB / 2.822 GB, free: 60.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002628/7.391, allocations: 1.412 MB / 2.824 GB, free: 60.45 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.2e-07/7.391, allocations: 0 / 2.824 GB, free: 60.45 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006772/7.397, allocations: 1.571 MB / 2.825 GB, free: 60.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * 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.008768/7.406, allocations: 5.774 MB / 2.831 GB, free: 57.95 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004964/7.411, allocations: 2.955 MB / 2.834 GB, free: 57.45 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.617e-06/7.411, allocations: 3.906 kB / 2.834 GB, free: 57.45 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/7.412, allocations: 0.8752 MB / 2.835 GB, free: 57.35 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006647/7.419, allocations: 1.154 MB / 2.836 GB, free: 57.28 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/7.434, allocations: 4.548 MB / 2.84 GB, free: 55.89 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/7.436, allocations: 1.852 MB / 2.842 GB, free: 55.11 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005695/7.442, allocations: 0.7664 MB / 2.843 GB, free: 54.96 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/7.444, allocations: 1.206 MB / 2.844 GB, free: 54.95 MB / 0.9167 GB Notification: Performance of SimCode: time 1.162e-06/7.444, allocations: 0 / 2.844 GB, free: 54.95 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1591/7.603, allocations: 81.52 MB / 2.924 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/7.603, allocations: 220.1 kB / 2.924 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.933/12.54, allocations: 0 / 2.924 GB, free: 13.83 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)