Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.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.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset",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.282/1.282, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008463/0.0008462, allocations: 168.6 kB / 325.8 MB, free: 2.711 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.337/1.337, allocations: 205 MB / 0.576 GB, free: 21.02 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.0006698/0.0006699, allocations: 102.9 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002765, allocations: 8.312 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.001351/0.1474, allocations: 1.49 MB / 0.8977 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003266/0.1478, allocations: 241.8 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.1478, allocations: 4 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.1479, allocations: 7.922 kB / 0.8979 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.148, allocations: 39.62 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.1481, allocations: 43.94 kB / 0.898 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.1482, allocations: 191.1 kB / 0.8982 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.1483, allocations: 25.7 kB / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.156e-05/0.1484, allocations: 55.78 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.1485, allocations: 79.66 kB / 0.8983 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.1485, allocations: 12 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.28e-05/0.1486, allocations: 4 kB / 0.8983 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.1486, allocations: 23.91 kB / 0.8984 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.1486, allocations: 63.66 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1488, allocations: 151.4 kB / 0.8986 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1488, allocations: 0 / 0.8986 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1488, allocations: 0 / 0.8986 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1488, allocations: 0 / 0.8986 GB, free: 65.67 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008062/0.1496, allocations: 463 kB / 0.899 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1497, allocations: 12.03 kB / 0.899 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.1497, allocations: 38.75 kB / 0.8991 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.1497, allocations: 20.73 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.319e-05/0.1498, allocations: 196 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1499, allocations: 12.31 kB / 0.8993 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.1499, allocations: 8.375 kB / 0.8993 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.1502, allocations: 166.2 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1502, allocations: 3.938 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1502, allocations: 4 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1502, allocations: 4 kB / 0.8995 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.1506, allocations: 139.9 kB / 0.8996 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.1513, allocations: 0.5121 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.1517, allocations: 181.1 kB / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.1519, allocations: 89.78 kB / 0.9003 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.152, allocations: 4 kB / 0.9003 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/0.1523, allocations: 153 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.1523, allocations: 0 / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0006445/0.1529, allocations: 269.3 kB / 0.9008 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.153, allocations: 81.11 kB / 0.9008 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1531, allocations: 183.1 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1531, allocations: 33.7 kB / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.1532, allocations: 116.1 kB / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.1532, allocations: 39.41 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.1532, allocations: 25.7 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.1533, allocations: 322.8 kB / 0.9015 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1535, allocations: 75.95 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.1537, allocations: 89.66 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.154, allocations: 161.6 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.154, allocations: 4 kB / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000435/0.1545, allocations: 229.4 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1545, allocations: 4 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1545, allocations: 0 / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1545, allocations: 3.984 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.1547, allocations: 43.91 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1547, allocations: 0 / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.1549, allocations: 31.83 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1549, allocations: 8 kB / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (TRoo1.count,$PRE.TRoo1.count,TRoo1.T_start,$PRE.TRoo1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.155, allocations: 127.6 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.155, allocations: 11.91 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.1555, allocations: 222.9 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1555, allocations: 0 / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1555, allocations: 384 / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1555, allocations: 3.938 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1557, allocations: 245.4 kB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1557, allocations: 4 kB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.1558, allocations: 31.92 kB / 0.9028 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1559, allocations: 0 / 0.9028 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1559, allocations: 11.98 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1559, allocations: 0 / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1559, allocations: 3.938 kB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.1563, allocations: 241.6 kB / 0.903 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.1563, allocations: 85.02 kB / 0.9031 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.1564, allocations: 4 kB / 0.9031 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.1565, allocations: 23.97 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.1566, allocations: 15.92 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1566, allocations: 8 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.311e-05/0.1567, allocations: 135.2 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1567, allocations: 0 / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000198/0.1569, allocations: 39.91 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005909/0.1575, allocations: 0.7692 MB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.1579, allocations: 175.8 kB / 0.9042 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1579, allocations: 0 / 0.9042 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.1582, allocations: 92.27 kB / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.1585, allocations: 55.59 kB / 0.9044 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.1605, allocations: 1.981 MB / 0.9063 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.212e-05/0.1606, allocations: 0.7088 MB / 0.907 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.852e-05/0.1607, allocations: 17.42 kB / 0.907 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.1607, allocations: 35.42 kB / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1607, allocations: 0 / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2743/0.435, allocations: 3.772 MB / 0.9107 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.4353, allocations: 243.8 kB / 0.911 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.296, allocations: 4 kB / 0.911 GB, free: 52.68 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1)