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.001317/0.001317, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 186.8 kB / 16.64 MB, free: 6.594 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.568/1.568, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.748/1.748, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001783/0.001784, allocations: 67.14 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3051, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003635/0.3087, allocations: 2.183 MB / 0.7863 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.3108, allocations: 1.301 MB / 0.7875 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.311, allocations: 7.938 kB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.3116, allocations: 179.6 kB / 0.7877 GB, free: 9.086 MB / 0.6075 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.0003235/0.3119, allocations: 135.4 kB / 0.7878 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.3123, allocations: 111.7 kB / 0.7879 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.3126, allocations: 227.1 kB / 0.7882 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.3127, allocations: 52.3 kB / 0.7882 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.3129, allocations: 87.58 kB / 0.7883 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.313, allocations: 99.48 kB / 0.7884 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.3131, allocations: 15.94 kB / 0.7884 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.3132, allocations: 51.97 kB / 0.7885 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3133, allocations: 87.67 kB / 0.7885 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.3134, allocations: 138.9 kB / 0.7887 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.3139, allocations: 358.7 kB / 0.789 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3139, allocations: 0 / 0.789 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3139, allocations: 0 / 0.789 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.3139, allocations: 4 kB / 0.789 GB, free: 7.742 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.0009485/0.3149, allocations: 0.6763 MB / 0.7897 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3149, allocations: 8.031 kB / 0.7897 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.315, allocations: 44.38 kB / 0.7897 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.3154, allocations: 356.2 kB / 0.7901 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3155, allocations: 4.312 kB / 0.7901 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.3155, allocations: 11.94 kB / 0.7901 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.3157, allocations: 81.59 kB / 0.7902 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3157, allocations: 0 / 0.7902 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.3157, allocations: 7.984 kB / 0.7902 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3157, allocations: 0 / 0.7902 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.828e-05/0.3158, allocations: 35.92 kB / 0.7902 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006631/0.3165, allocations: 456.5 kB / 0.7906 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.3167, allocations: 74.61 kB / 0.7907 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.3168, allocations: 24.86 kB / 0.7907 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3168, allocations: 0 / 0.7907 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.317, allocations: 71.38 kB / 0.7908 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.317, allocations: 0 / 0.7908 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003394/0.3173, allocations: 153 kB / 0.7909 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.3174, allocations: 59.34 kB / 0.791 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.3179, allocations: 0.5255 MB / 0.7915 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.318, allocations: 29.7 kB / 0.7915 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.3181, allocations: 223.9 kB / 0.7918 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.3182, allocations: 19.8 kB / 0.7918 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.3182, allocations: 37.61 kB / 0.7918 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3184, allocations: 362.8 kB / 0.7922 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.836e-05/0.3185, allocations: 47.98 kB / 0.7922 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.3187, allocations: 78.55 kB / 0.7923 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3188, allocations: 80.52 kB / 0.7924 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3188, allocations: 3.938 kB / 0.7924 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003084/0.3191, allocations: 197 kB / 0.7925 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3192, allocations: 8.062 kB / 0.7926 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3192, allocations: 0 / 0.7926 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3192, allocations: 7.984 kB / 0.7926 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3193, allocations: 23.88 kB / 0.7926 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.3193, allocations: 4.25 kB / 0.7926 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3195, allocations: 11.98 kB / 0.7926 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.3195, allocations: 8 kB / 0.7926 GB, free: 3.82 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 ($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.0001614/0.3197, allocations: 182.4 kB / 0.7928 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.3197, allocations: 43.44 kB / 0.7928 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.746e-05/0.3198, allocations: 43.81 kB / 0.7929 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3198, allocations: 3.938 kB / 0.7929 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3198, allocations: 0 / 0.7929 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3198, allocations: 11.97 kB / 0.7929 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.3201, allocations: 293.6 kB / 0.7932 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3201, allocations: 3.938 kB / 0.7932 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.3201, allocations: 11.92 kB / 0.7932 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3201, allocations: 3.938 kB / 0.7932 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3201, allocations: 4 kB / 0.7932 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3201, allocations: 3.938 kB / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3201, allocations: 4 kB / 0.7932 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.3204, allocations: 148.5 kB / 0.7933 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.988e-05/0.3205, allocations: 112.6 kB / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.3205, allocations: 4 kB / 0.7934 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.3206, allocations: 7.938 kB / 0.7935 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.3207, allocations: 11.98 kB / 0.7935 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.3207, allocations: 4 kB / 0.7935 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003562/0.321, allocations: 366.8 kB / 0.7938 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.321, allocations: 0 / 0.7938 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002542/0.3213, allocations: 47.91 kB / 0.7939 GB, free: 2.438 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 (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.000967/0.3223, allocations: 425.8 kB / 0.7943 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.3226, allocations: 91.95 kB / 0.7944 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3226, allocations: 3.938 kB / 0.7944 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.3227, allocations: 35.98 kB / 0.7944 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.3231, allocations: 49.88 kB / 0.7944 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3241, allocations: 0.6362 MB / 0.7951 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.3246, allocations: 0.8099 MB / 0.7959 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.152e-05/0.3246, allocations: 29.53 kB / 0.7959 GB, free: 472 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.3247, allocations: 19.44 kB / 0.7959 GB, free: 452 kB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.3247, allocations: 0 / 0.7959 GB, free: 452 kB / 0.6075 GB Notification: Performance of Templates: time 0.006974/0.3317, allocations: 2.871 MB / 0.7987 GB, free: 13.6 MB / 0.6231 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)