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.001297/0.001297, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001406/0.001407, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.841/1.841, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001485/0.001485, allocations: 71.91 kB / 0.6722 GB, free: 6.609 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.234, allocations: 114.6 MB / 0.784 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004044/0.2381, allocations: 2.19 MB / 0.7862 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.2403, allocations: 1.293 MB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.2405, allocations: 7.938 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.2411, allocations: 187.6 kB / 0.7876 GB, free: 252 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.2415, allocations: 127.3 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.2419, allocations: 115.7 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3763/0.6182, allocations: 225.8 kB / 0.7881 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.6184, allocations: 41.44 kB / 0.7881 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.6186, allocations: 99.45 kB / 0.7882 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.6188, allocations: 93.16 kB / 0.7883 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.6188, allocations: 10.22 kB / 0.7883 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.619, allocations: 59 kB / 0.7883 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.032e-05/0.6191, allocations: 91.44 kB / 0.7884 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.6192, allocations: 130.6 kB / 0.7886 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.6195, allocations: 353.8 kB / 0.7889 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6195, allocations: 0 / 0.7889 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6196, allocations: 0 / 0.7889 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.6196, allocations: 0 / 0.7889 GB, free: 46.01 MB / 0.6544 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.0008002/0.6204, allocations: 0.6767 MB / 0.7896 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.6204, allocations: 7.875 kB / 0.7896 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/0.6205, allocations: 45.38 kB / 0.7896 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.6208, allocations: 355.3 kB / 0.7899 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.6208, allocations: 3.375 kB / 0.79 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.6209, allocations: 12 kB / 0.79 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.621, allocations: 81.39 kB / 0.79 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.6211, allocations: 0 / 0.79 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.6211, allocations: 2 kB / 0.79 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.6211, allocations: 2.625 kB / 0.79 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.6212, allocations: 35 kB / 0.7901 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.6218, allocations: 468.8 kB / 0.7905 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.622, allocations: 60.97 kB / 0.7906 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.622, allocations: 27.73 kB / 0.7906 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.6221, allocations: 3.953 kB / 0.7906 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.6222, allocations: 77.66 kB / 0.7907 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.6222, allocations: 3.344 kB / 0.7907 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0003086/0.6225, allocations: 140.7 kB / 0.7908 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.6226, allocations: 56.22 kB / 0.7909 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.623, allocations: 0.5365 MB / 0.7914 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.6231, allocations: 32.39 kB / 0.7914 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.6232, allocations: 216.2 kB / 0.7916 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.6232, allocations: 16.02 kB / 0.7917 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.6233, allocations: 46.42 kB / 0.7917 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/0.6233, allocations: 361 kB / 0.792 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.042e-05/0.6234, allocations: 46.72 kB / 0.7921 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.6236, allocations: 81.31 kB / 0.7922 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.6237, allocations: 83.41 kB / 0.7922 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.6237, allocations: 1.281 kB / 0.7922 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002628/0.624, allocations: 195.7 kB / 0.7924 GB, free: 44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.624, allocations: 8.484 kB / 0.7924 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.624, allocations: 3.562 kB / 0.7924 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.624, allocations: 0.875 kB / 0.7924 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.6241, allocations: 24.98 kB / 0.7925 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6242, allocations: 3.938 kB / 0.7925 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.6243, allocations: 21.02 kB / 0.7925 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.6243, allocations: 2.625 kB / 0.7925 GB, free: 43.99 MB / 0.6544 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 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * 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.0001231/0.6244, allocations: 185.3 kB / 0.7927 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.6245, allocations: 43.59 kB / 0.7927 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.6245, allocations: 43.88 kB / 0.7928 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.6246, allocations: 4.5 kB / 0.7928 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6246, allocations: 3.938 kB / 0.7928 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6246, allocations: 3.797 kB / 0.7928 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.6248, allocations: 291.4 kB / 0.793 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6248, allocations: 0 / 0.793 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.6248, allocations: 7.594 kB / 0.7931 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6248, allocations: 0 / 0.7931 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.6248, allocations: 1.094 kB / 0.7931 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6248, allocations: 10.56 kB / 0.7931 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.6248, allocations: 3.938 kB / 0.7931 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.625, allocations: 153.4 kB / 0.7932 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.6251, allocations: 113.7 kB / 0.7933 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.6252, allocations: 3.5 kB / 0.7933 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.6252, allocations: 10.27 kB / 0.7933 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.6253, allocations: 11.06 kB / 0.7933 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.6253, allocations: 6.641 kB / 0.7934 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003002/0.6256, allocations: 360.2 kB / 0.7937 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6256, allocations: 0 / 0.7937 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002704/0.6259, allocations: 47.33 kB / 0.7937 GB, free: 43.35 MB / 0.6544 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.000983/0.6269, allocations: 423.9 kB / 0.7941 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.6272, allocations: 98.78 kB / 0.7942 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6272, allocations: 3.469 kB / 0.7942 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.813e-05/0.6272, allocations: 30.72 kB / 0.7943 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.6276, allocations: 65.64 kB / 0.7943 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008654/0.6285, allocations: 0.6819 MB / 0.795 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.6287, allocations: 0.8193 MB / 0.7958 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.6288, allocations: 21.16 kB / 0.7958 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6288, allocations: 0 / 0.7958 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.006522/0.6353, allocations: 4.11 MB / 0.7998 GB, free: 41.62 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (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)