Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009404/0.0009405, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005684/0.0005684, allocations: 15.19 kB / 0.6736 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2245, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002495/0.2271, allocations: 1.82 MB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2287, allocations: 1.181 MB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.726e-05/0.2288, allocations: 4 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.2292, allocations: 179.3 kB / 0.7902 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.2295, allocations: 111.7 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.2298, allocations: 91.77 kB / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.23, allocations: 151.7 kB / 0.7906 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.2301, allocations: 40.38 kB / 0.7906 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2303, allocations: 87.62 kB / 0.7907 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.2304, allocations: 87.56 kB / 0.7908 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.2304, allocations: 4 kB / 0.7908 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.2306, allocations: 27.98 kB / 0.7908 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2307, allocations: 83.72 kB / 0.7909 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.2307, allocations: 81.45 kB / 0.791 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.2311, allocations: 267.6 kB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.2311, allocations: 0 / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2311, allocations: 4 kB / 0.7912 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2311, allocations: 0 / 0.7912 GB, free: 7.777 MB / 0.6075 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.0008522/0.2319, allocations: 0.6221 MB / 0.7918 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.232, allocations: 12.02 kB / 0.7918 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.2321, allocations: 47.39 kB / 0.7919 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.2325, allocations: 331.2 kB / 0.7922 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2325, allocations: 8 kB / 0.7922 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.2325, allocations: 8 kB / 0.7922 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.2327, allocations: 73.59 kB / 0.7923 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2327, allocations: 0 / 0.7923 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2327, allocations: 8 kB / 0.7923 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2327, allocations: 0 / 0.7923 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.158e-05/0.2328, allocations: 35.97 kB / 0.7923 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.2335, allocations: 468.4 kB / 0.7928 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.2336, allocations: 62.69 kB / 0.7928 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2337, allocations: 7.938 kB / 0.7928 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.2338, allocations: 83.45 kB / 0.7929 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.2338, allocations: 0 / 0.7929 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002952/0.2341, allocations: 141.1 kB / 0.793 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.2342, allocations: 51.41 kB / 0.7931 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/0.2347, allocations: 0.5293 MB / 0.7936 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.2347, allocations: 29.7 kB / 0.7936 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.2349, allocations: 224 kB / 0.7939 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.2349, allocations: 23.78 kB / 0.7939 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.2349, allocations: 0 / 0.7939 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2351, allocations: 358.8 kB / 0.7942 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.2352, allocations: 55.83 kB / 0.7943 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2353, allocations: 74.55 kB / 0.7943 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.107e-05/0.2354, allocations: 51.22 kB / 0.7944 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2354, allocations: 0 / 0.7944 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002705/0.2357, allocations: 205 kB / 0.7946 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2357, allocations: 10.61 kB / 0.7946 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2357, allocations: 0 / 0.7946 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.2357, allocations: 0 / 0.7946 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.2358, allocations: 23.98 kB / 0.7946 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2358, allocations: 0 / 0.7946 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.236, allocations: 15.98 kB / 0.7946 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.236, allocations: 8 kB / 0.7946 GB, free: 4.031 MB / 0.6075 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.000152/0.2362, allocations: 184.2 kB / 0.7948 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.2362, allocations: 43.44 kB / 0.7949 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.2363, allocations: 55.73 kB / 0.7949 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2363, allocations: 0 / 0.7949 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2363, allocations: 0 / 0.7949 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2363, allocations: 0 / 0.7949 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.2365, allocations: 297.5 kB / 0.7952 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2365, allocations: 0 / 0.7952 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.2366, allocations: 4 kB / 0.7952 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2366, allocations: 4 kB / 0.7952 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.2366, allocations: 0 / 0.7952 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.2366, allocations: 11.94 kB / 0.7952 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2366, allocations: 0 / 0.7952 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.2368, allocations: 148.7 kB / 0.7954 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.585e-05/0.2369, allocations: 112.7 kB / 0.7955 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.2369, allocations: 8 kB / 0.7955 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.237, allocations: 11.98 kB / 0.7955 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.2371, allocations: 15.94 kB / 0.7955 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.2371, allocations: 3.984 kB / 0.7955 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003335/0.2374, allocations: 358.8 kB / 0.7958 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.443e-06/0.2375, allocations: 0 / 0.7958 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002504/0.2377, allocations: 55.78 kB / 0.7959 GB, free: 2.648 MB / 0.6075 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.0008607/0.2386, allocations: 414 kB / 0.7963 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.2388, allocations: 91.91 kB / 0.7964 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2388, allocations: 0 / 0.7964 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.2389, allocations: 27.98 kB / 0.7964 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.2392, allocations: 57.5 kB / 0.7965 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009025/0.2401, allocations: 0.7065 MB / 0.7972 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.2405, allocations: 0.8335 MB / 0.798 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.224e-05/0.2406, allocations: 21.53 kB / 0.798 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.2406, allocations: 19.44 kB / 0.798 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2406, allocations: 0 / 0.798 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of Templates: time 0.006482/0.2471, allocations: 2.62 MB / 0.8006 GB, free: 13.98 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) Environment - environmentSimulation: