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.424/1.424, allocations: 252 MB / 267 MB, free: 10.98 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.001068/0.001068, allocations: 183.9 kB / 326.6 MB, free: 2.227 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.836/1.836, allocations: 205.4 MB / 0.5776 GB, free: 20.53 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.0009088/0.0009088, allocations: 94.05 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003659, allocations: 9 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2493, allocations: 106.4 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00264/0.252, allocations: 1.849 MB / 0.9021 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.2537, allocations: 1.067 MB / 0.9032 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.2538, allocations: 4 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005299/0.2544, allocations: 167.3 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.2547, allocations: 111.5 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.255, allocations: 83.83 kB / 0.9035 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.2553, allocations: 187.2 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.2555, allocations: 40.33 kB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.2557, allocations: 83.58 kB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.2558, allocations: 95.48 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.2559, allocations: 4 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.256, allocations: 16 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.2561, allocations: 87.67 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.2562, allocations: 77.45 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.2564, allocations: 251.7 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2564, allocations: 0 / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2564, allocations: 4 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.2564, allocations: 4 kB / 0.9043 GB, free: 60.04 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.0007583/0.2572, allocations: 0.6143 MB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2573, allocations: 8.031 kB / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.2573, allocations: 38.56 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.2574, allocations: 47.39 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.2578, allocations: 323.3 kB / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2578, allocations: 7.984 kB / 0.9053 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.2578, allocations: 12 kB / 0.9053 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.258, allocations: 69.66 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.258, allocations: 0 / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.258, allocations: 8 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2581, allocations: 0 / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.654e-05/0.2582, allocations: 31.94 kB / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.2588, allocations: 456.6 kB / 0.9059 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.259, allocations: 70.66 kB / 0.9059 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.259, allocations: 24.91 kB / 0.906 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.2591, allocations: 7.938 kB / 0.906 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.2593, allocations: 87.22 kB / 0.9061 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.2593, allocations: 0 / 0.9061 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.000325/0.2596, allocations: 133.2 kB / 0.9062 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.2597, allocations: 51.41 kB / 0.9062 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.2602, allocations: 0.5293 MB / 0.9068 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2603, allocations: 25.7 kB / 0.9068 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.2604, allocations: 227.9 kB / 0.907 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.2604, allocations: 15.89 kB / 0.907 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.2605, allocations: 0 / 0.907 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.2606, allocations: 358.7 kB / 0.9074 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.79e-05/0.2607, allocations: 55.88 kB / 0.9074 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.2608, allocations: 69.22 kB / 0.9075 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.653e-05/0.2609, allocations: 47.98 kB / 0.9075 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2609, allocations: 4.031 kB / 0.9075 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002803/0.2612, allocations: 198.1 kB / 0.9077 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2612, allocations: 4 kB / 0.9077 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2612, allocations: 256 / 0.9077 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2612, allocations: 7.938 kB / 0.9077 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2614, allocations: 23.98 kB / 0.9077 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2614, allocations: 4 kB / 0.9077 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.2615, allocations: 19.89 kB / 0.9078 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.2615, allocations: 8.031 kB / 0.9078 GB, free: 56.26 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.0001512/0.2617, allocations: 177.7 kB / 0.9079 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.2617, allocations: 51.39 kB / 0.908 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/0.2618, allocations: 43.8 kB / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2618, allocations: 0 / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2618, allocations: 0 / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2618, allocations: 0 / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.262, allocations: 301.5 kB / 0.9083 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.262, allocations: 0 / 0.9083 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.2621, allocations: 8 kB / 0.9083 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2621, allocations: 0 / 0.9083 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2621, allocations: 3.953 kB / 0.9083 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2621, allocations: 0 / 0.9083 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2621, allocations: 0 / 0.9083 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.2623, allocations: 156.5 kB / 0.9085 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.2624, allocations: 112.5 kB / 0.9086 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.2624, allocations: 8 kB / 0.9086 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.2625, allocations: 15.94 kB / 0.9086 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.2626, allocations: 7.984 kB / 0.9086 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.2626, allocations: 4 kB / 0.9086 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003425/0.263, allocations: 354.8 kB / 0.909 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/0.263, allocations: 0 / 0.909 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002478/0.2632, allocations: 39.98 kB / 0.909 GB, free: 54.91 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.001204/0.2644, allocations: 0.9944 MB / 0.91 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.2647, allocations: 94.77 kB / 0.9101 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2647, allocations: 0 / 0.9101 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.2647, allocations: 27.94 kB / 0.9101 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.2651, allocations: 67.14 kB / 0.9102 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.2677, allocations: 2.171 MB / 0.9123 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.2679, allocations: 0.8141 MB / 0.9131 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.433e-05/0.2681, allocations: 25.66 kB / 0.9131 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.2682, allocations: 111.4 kB / 0.9132 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2682, allocations: 0 / 0.9132 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.2898, allocations: 6.769 MB / 0.9198 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.29, allocations: 255.5 kB / 0.9201 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/2.488, allocations: 0 / 0.9201 GB, free: 43.7 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)