Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.639/1.639, allocations: 287.4 MB / 302.6 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 179.4 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 0.6298 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009992/0.0009995, allocations: 82.36 kB / 0.7431 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005598/0.0005599, allocations: 11.78 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2077, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00229/0.2101, allocations: 1.832 MB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2116, allocations: 1.192 MB / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2117, allocations: 0 / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.2122, allocations: 171.3 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.2124, allocations: 107.5 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.2127, allocations: 96.44 kB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.2129, allocations: 203.1 kB / 0.9822 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.2131, allocations: 48.53 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.2132, allocations: 83.58 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.91e-05/0.2133, allocations: 91.56 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.2134, allocations: 4 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.2135, allocations: 47.89 kB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.2135, allocations: 87.67 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.2136, allocations: 73.52 kB / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.2138, allocations: 263.4 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2138, allocations: 0 / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2138, allocations: 0 / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2138, allocations: 0 / 0.9829 GB, free: 23.8 MB / 0.6198 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.0006413/0.2145, allocations: 0.6261 MB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2145, allocations: 11.97 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.2146, allocations: 34.75 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.2146, allocations: 44.38 kB / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.2149, allocations: 356.3 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.215, allocations: 8.125 kB / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.215, allocations: 7.938 kB / 0.984 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.2151, allocations: 77.66 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2152, allocations: 0 / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2152, allocations: 4 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2152, allocations: 0 / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.2153, allocations: 35.92 kB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.2158, allocations: 464.5 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.216, allocations: 66.61 kB / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.216, allocations: 28.84 kB / 0.9846 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.2161, allocations: 0 / 0.9846 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.2162, allocations: 79.38 kB / 0.9847 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.2162, allocations: 0 / 0.9847 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002696/0.2165, allocations: 153 kB / 0.9848 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.2165, allocations: 51.41 kB / 0.9849 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.217, allocations: 0.5255 MB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.217, allocations: 29.7 kB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.2171, allocations: 224 kB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.2171, allocations: 19.73 kB / 0.9857 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.2171, allocations: 8 kB / 0.9857 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.2172, allocations: 354.8 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.2173, allocations: 52.08 kB / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.723e-05/0.2174, allocations: 76.67 kB / 0.9861 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.2175, allocations: 87.89 kB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2175, allocations: 4.031 kB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002307/0.2178, allocations: 193 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2178, allocations: 7.938 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2178, allocations: 0 / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2178, allocations: 3.938 kB / 0.9864 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2179, allocations: 31.92 kB / 0.9864 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2179, allocations: 0 / 0.9864 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.218, allocations: 15.98 kB / 0.9865 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.2181, allocations: 8.031 kB / 0.9865 GB, free: 19.92 MB / 0.6198 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.0001225/0.2182, allocations: 181.8 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.2182, allocations: 51.36 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.009e-05/0.2183, allocations: 51.78 kB / 0.9867 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2183, allocations: 3.938 kB / 0.9867 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2183, allocations: 0 / 0.9867 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2183, allocations: 0 / 0.9867 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.2185, allocations: 293.5 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2185, allocations: 0 / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.2185, allocations: 8 kB / 0.987 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2185, allocations: 0 / 0.987 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2185, allocations: 4 kB / 0.987 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2186, allocations: 7.922 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2186, allocations: 0 / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.2187, allocations: 144.5 kB / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.2188, allocations: 120.5 kB / 0.9873 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.2188, allocations: 4 kB / 0.9873 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.2189, allocations: 15.92 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.219, allocations: 15.92 kB / 0.9873 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.219, allocations: 4.312 kB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002683/0.2193, allocations: 362.8 kB / 0.9877 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2193, allocations: 0 / 0.9877 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002153/0.2195, allocations: 40 kB / 0.9877 GB, free: 18.54 MB / 0.6198 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.001035/0.2205, allocations: 1.001 MB / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.2207, allocations: 95.91 kB / 0.9888 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2208, allocations: 0 / 0.9888 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.2208, allocations: 27.98 kB / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2212, allocations: 56.75 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.2234, allocations: 2.201 MB / 0.991 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.2236, allocations: 0.8177 MB / 0.9918 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.348e-05/0.2237, allocations: 25.67 kB / 0.9918 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.2238, allocations: 115.4 kB / 0.9919 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of SimCode: time 3.5e-07/0.2238, allocations: 0 / 0.9919 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/0.3328, allocations: 6.972 MB / 0.9988 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/0.3331, allocations: 238.2 kB / 0.999 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/2.633, allocations: 1.875 kB / 0.999 GB, free: 7.207 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)