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.001977/0.001977, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.002545/0.002545, allocations: 184 kB / 17.22 MB, free: 5.934 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.737/1.737, 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.853/1.853, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001459/0.001459, allocations: 67.91 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2634, allocations: 114.6 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003773/0.2673, allocations: 2.173 MB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.2691, allocations: 1.309 MB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.2693, allocations: 0 / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.2699, allocations: 191.6 kB / 0.7877 GB, free: 144 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.0002992/0.2702, allocations: 119.4 kB / 0.7878 GB, free: 24 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4608/0.7309, allocations: 112.7 kB / 0.7879 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.7315, allocations: 229.9 kB / 0.7881 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.7317, allocations: 47.45 kB / 0.7881 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.7319, allocations: 93.44 kB / 0.7882 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.7321, allocations: 97.92 kB / 0.7883 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.7321, allocations: 10.94 kB / 0.7883 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.7324, allocations: 57.75 kB / 0.7884 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.7325, allocations: 88.67 kB / 0.7885 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.7327, allocations: 132.1 kB / 0.7886 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006156/0.7333, allocations: 359 kB / 0.789 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.7333, allocations: 0 / 0.789 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.357e-06/0.7333, allocations: 1.5 kB / 0.789 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.7333, allocations: 0 / 0.789 GB, free: 46.54 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.00131/0.7347, allocations: 0.6778 MB / 0.7896 GB, free: 46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.7347, allocations: 7.875 kB / 0.7896 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.246e-05/0.7348, allocations: 45.38 kB / 0.7897 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.7352, allocations: 352 kB / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.7353, allocations: 7.312 kB / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.7353, allocations: 5.25 kB / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.7355, allocations: 81.19 kB / 0.7901 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.7355, allocations: 0 / 0.7901 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.7355, allocations: 1.844 kB / 0.7901 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.7356, allocations: 3.156 kB / 0.7901 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.7357, allocations: 42.06 kB / 0.7901 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/0.7364, allocations: 457.5 kB / 0.7906 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.7367, allocations: 72.95 kB / 0.7906 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.7367, allocations: 20.34 kB / 0.7907 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.7368, allocations: 1.562 kB / 0.7907 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.737, allocations: 76.47 kB / 0.7907 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.737, allocations: 2.656 kB / 0.7907 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.000364/0.7374, allocations: 145.2 kB / 0.7909 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.7374, allocations: 54.62 kB / 0.7909 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/0.7379, allocations: 0.5387 MB / 0.7915 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.738, allocations: 31.7 kB / 0.7915 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.7382, allocations: 221.3 kB / 0.7917 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.7382, allocations: 11.92 kB / 0.7917 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.7383, allocations: 45.5 kB / 0.7917 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.7384, allocations: 357.4 kB / 0.7921 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.7385, allocations: 51.39 kB / 0.7921 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.7386, allocations: 75.69 kB / 0.7922 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.7388, allocations: 90.78 kB / 0.7923 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.7388, allocations: 0 / 0.7923 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002919/0.7391, allocations: 194.4 kB / 0.7925 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7391, allocations: 6.375 kB / 0.7925 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.7391, allocations: 0 / 0.7925 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.7391, allocations: 2.625 kB / 0.7925 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.7393, allocations: 26.27 kB / 0.7925 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.7393, allocations: 4.438 kB / 0.7925 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.7394, allocations: 19.75 kB / 0.7925 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.7394, allocations: 5.297 kB / 0.7925 GB, free: 44.51 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.0001455/0.7396, allocations: 181.5 kB / 0.7927 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.7396, allocations: 40.58 kB / 0.7928 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.255e-05/0.7397, allocations: 55.62 kB / 0.7928 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7397, allocations: 1.469 kB / 0.7928 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.7397, allocations: 3.938 kB / 0.7928 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7397, allocations: 5.469 kB / 0.7928 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.74, allocations: 291.9 kB / 0.7931 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.74, allocations: 0.625 kB / 0.7931 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.041e-05/0.74, allocations: 6.062 kB / 0.7931 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.74, allocations: 0 / 0.7931 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.74, allocations: 7.062 kB / 0.7931 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.74, allocations: 6.141 kB / 0.7931 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.74, allocations: 3.938 kB / 0.7931 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.7402, allocations: 150.2 kB / 0.7933 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.7403, allocations: 111.2 kB / 0.7934 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.7404, allocations: 0.5312 kB / 0.7934 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.7405, allocations: 16.62 kB / 0.7934 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.7405, allocations: 14.53 kB / 0.7934 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.7405, allocations: 5.281 kB / 0.7934 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003349/0.7409, allocations: 364.3 kB / 0.7938 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7409, allocations: 0 / 0.7938 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003557/0.7412, allocations: 52.48 kB / 0.7938 GB, free: 43.87 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.001057/0.7423, allocations: 424.7 kB / 0.7942 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.7426, allocations: 98.84 kB / 0.7943 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7426, allocations: 0 / 0.7943 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.571e-05/0.7427, allocations: 22.7 kB / 0.7943 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.743, allocations: 57.27 kB / 0.7944 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009546/0.744, allocations: 0.6335 MB / 0.795 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.7443, allocations: 0.815 MB / 0.7958 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.91e-05/0.7444, allocations: 25.06 kB / 0.7958 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.7445, allocations: 24.62 kB / 0.7958 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.7445, allocations: 0 / 0.7958 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.008157/0.7527, allocations: 2.86 MB / 0.7986 GB, free: 42.61 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)