Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.459/1.459, allocations: 251.9 MB / 266.9 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.001169/0.001169, allocations: 175.6 kB / 326.5 MB, free: 2.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 2.001/2.001, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009579/0.0009576, allocations: 107.9 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 12.56 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2369, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002179/0.2391, allocations: 1.834 MB / 0.9019 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2404, allocations: 1.039 MB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.2405, allocations: 4 kB / 0.903 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.2409, allocations: 175.3 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.2411, allocations: 115.6 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.2414, allocations: 82.7 kB / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.2415, allocations: 151.6 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2417, allocations: 36.38 kB / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2418, allocations: 87.64 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.933e-05/0.2419, allocations: 79.62 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.2419, allocations: 0 / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.725e-05/0.242, allocations: 23.98 kB / 0.9037 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.227e-05/0.2421, allocations: 83.67 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.2421, allocations: 81.5 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.2424, allocations: 239.7 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.2424, allocations: 4 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2424, allocations: 0 / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2424, allocations: 0 / 0.9041 GB, free: 59.78 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006777/0.2431, allocations: 0.6236 MB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2431, allocations: 11.97 kB / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.2432, allocations: 34.55 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.2432, allocations: 47.39 kB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.2435, allocations: 323.4 kB / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2436, allocations: 8 kB / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.2436, allocations: 4 kB / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.2437, allocations: 73.66 kB / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2438, allocations: 3.938 kB / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2438, allocations: 0 / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.2438, allocations: 4 kB / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.2439, allocations: 39.88 kB / 0.9052 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.2444, allocations: 456.6 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.2445, allocations: 70.61 kB / 0.9057 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.2446, allocations: 3.953 kB / 0.9057 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.2448, allocations: 79.42 kB / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.2448, allocations: 0 / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0002633/0.245, allocations: 141.1 kB / 0.9059 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.2451, allocations: 51.41 kB / 0.906 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/0.2455, allocations: 0.5253 MB / 0.9065 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.2455, allocations: 29.7 kB / 0.9065 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.2456, allocations: 224 kB / 0.9067 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.2456, allocations: 7.906 kB / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.2457, allocations: 4 kB / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.2457, allocations: 362.8 kB / 0.9071 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.2458, allocations: 47.89 kB / 0.9071 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.2459, allocations: 70.55 kB / 0.9072 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.246, allocations: 49.25 kB / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.246, allocations: 7.969 kB / 0.9072 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002323/0.2463, allocations: 202.3 kB / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2463, allocations: 4 kB / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2463, allocations: 0 / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2463, allocations: 4 kB / 0.9074 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.2464, allocations: 23.92 kB / 0.9075 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2464, allocations: 0 / 0.9075 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2466, allocations: 19.91 kB / 0.9075 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.2466, allocations: 12.12 kB / 0.9075 GB, free: 56.03 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: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001284/0.2467, allocations: 181.7 kB / 0.9077 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.2468, allocations: 47.39 kB / 0.9077 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.2468, allocations: 47.8 kB / 0.9078 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2468, allocations: 3.984 kB / 0.9078 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2468, allocations: 256 / 0.9078 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2468, allocations: 0 / 0.9078 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.247, allocations: 301.5 kB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.247, allocations: 0 / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.2471, allocations: 11.98 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2471, allocations: 3.938 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.2471, allocations: 3.953 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2471, allocations: 0 / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2471, allocations: 0 / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.2473, allocations: 140.6 kB / 0.9082 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.2473, allocations: 120.5 kB / 0.9083 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.2474, allocations: 4 kB / 0.9083 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.2475, allocations: 15.95 kB / 0.9083 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.2475, allocations: 11.97 kB / 0.9084 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.2475, allocations: 4 kB / 0.9084 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002787/0.2478, allocations: 354.8 kB / 0.9087 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2478, allocations: 0 / 0.9087 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002308/0.2481, allocations: 40 kB / 0.9087 GB, free: 54.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00104/0.2491, allocations: 0.9984 MB / 0.9097 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.2493, allocations: 99.08 kB / 0.9098 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2493, allocations: 0 / 0.9098 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.145e-05/0.2494, allocations: 27.98 kB / 0.9098 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.2497, allocations: 59.97 kB / 0.9099 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.2507, allocations: 1.135 MB / 0.911 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.2509, allocations: 0.8219 MB / 0.9118 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.955e-05/0.251, allocations: 21.55 kB / 0.9118 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.2511, allocations: 108.8 kB / 0.9119 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.2511, allocations: 0 / 0.9119 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.2676, allocations: 6.66 MB / 0.9184 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.2678, allocations: 256.1 kB / 0.9187 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.364, allocations: 0 / 0.9187 GB, free: 44.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)