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.697/1.697, allocations: 252 MB / 267.3 MB, free: 10.8 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.001267/0.001267, allocations: 178.6 kB / 327 MB, free: 2.066 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.918/1.918, allocations: 205.4 MB / 0.578 GB, free: 20.18 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.0007073/0.0007074, allocations: 91.34 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003703, allocations: 12 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2357, allocations: 106.3 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002463/0.2382, allocations: 1.899 MB / 0.9028 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.2397, allocations: 1.117 MB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2398, allocations: 0 / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.2404, allocations: 179.2 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.2406, allocations: 107.5 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.2409, allocations: 98.08 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.2411, allocations: 219.1 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.2413, allocations: 32.39 kB / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.2414, allocations: 75.59 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.2415, allocations: 91.55 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.2415, allocations: 4 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.261e-05/0.2416, allocations: 39.91 kB / 0.9047 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.2417, allocations: 79.69 kB / 0.9048 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.357e-05/0.2418, allocations: 152.6 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.2421, allocations: 314.9 kB / 0.9052 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2421, allocations: 4 kB / 0.9052 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2421, allocations: 0 / 0.9052 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2421, allocations: 0 / 0.9052 GB, free: 58.81 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.0006676/0.2428, allocations: 0.6067 MB / 0.9058 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2428, allocations: 15.97 kB / 0.9058 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.2429, allocations: 38.73 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.2429, allocations: 44.38 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.2433, allocations: 348.1 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.2433, allocations: 4.375 kB / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.2433, allocations: 11.94 kB / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.2435, allocations: 73.66 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2435, allocations: 0 / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2435, allocations: 7.938 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2435, allocations: 4 kB / 0.9063 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.973e-05/0.2436, allocations: 39.84 kB / 0.9064 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.2441, allocations: 464.4 kB / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.2443, allocations: 74.59 kB / 0.9069 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.2444, allocations: 20.84 kB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.2444, allocations: 4 kB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.2446, allocations: 79.39 kB / 0.907 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.2446, allocations: 0 / 0.907 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0002786/0.2449, allocations: 145.1 kB / 0.9071 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.2449, allocations: 55.34 kB / 0.9072 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.2453, allocations: 0.5254 MB / 0.9077 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.2453, allocations: 25.7 kB / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2455, allocations: 220 kB / 0.9079 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.2455, allocations: 19.8 kB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.2455, allocations: 4 kB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.2456, allocations: 354.8 kB / 0.9083 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/0.2457, allocations: 51.97 kB / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.088e-05/0.2458, allocations: 70.55 kB / 0.9084 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.2459, allocations: 89.58 kB / 0.9085 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2459, allocations: 0 / 0.9085 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002383/0.2462, allocations: 194.1 kB / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2462, allocations: 4 kB / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2462, allocations: 0 / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2462, allocations: 4 kB / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.2463, allocations: 31.86 kB / 0.9087 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2464, allocations: 0 / 0.9087 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.2465, allocations: 19.92 kB / 0.9087 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.2465, allocations: 4 kB / 0.9087 GB, free: 54.96 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.2467, allocations: 187 kB / 0.9089 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.2467, allocations: 47.38 kB / 0.9089 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.432e-05/0.2468, allocations: 47.8 kB / 0.909 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.2468, allocations: 3.938 kB / 0.909 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2468, allocations: 0 / 0.909 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2468, allocations: 112 / 0.909 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.247, allocations: 297.5 kB / 0.9093 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.247, allocations: 0 / 0.9093 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.247, allocations: 4 kB / 0.9093 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.247, allocations: 4 kB / 0.9093 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.247, allocations: 0 / 0.9093 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2471, allocations: 3.938 kB / 0.9093 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2471, allocations: 0 / 0.9093 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.2473, allocations: 152.5 kB / 0.9094 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.2473, allocations: 116.6 kB / 0.9095 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.2474, allocations: 4.312 kB / 0.9095 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.2475, allocations: 15.92 kB / 0.9096 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.2475, allocations: 19.92 kB / 0.9096 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.2475, allocations: 4 kB / 0.9096 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002757/0.2478, allocations: 354.8 kB / 0.9099 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2478, allocations: 0 / 0.9099 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002209/0.2481, allocations: 43.91 kB / 0.91 GB, free: 53.59 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 (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.001096/0.2492, allocations: 1 MB / 0.9109 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.2494, allocations: 87.91 kB / 0.911 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2494, allocations: 3.938 kB / 0.911 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/0.2494, allocations: 27.98 kB / 0.9111 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.2498, allocations: 61.11 kB / 0.9111 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.2526, allocations: 3.163 MB / 0.9142 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.2528, allocations: 0.8102 MB / 0.915 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.508e-05/0.2529, allocations: 29.53 kB / 0.915 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.253, allocations: 107.4 kB / 0.9151 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.253, allocations: 0 / 0.9151 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.2697, allocations: 6.544 MB / 0.9215 GB, free: 41.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/0.27, allocations: 274.3 kB / 0.9218 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.427, allocations: 0 / 0.9218 GB, free: 41.54 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)