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.00132/0.00132, allocations: 114.1 kB / 16.37 MB, free: 6.012 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.001318/0.001318, allocations: 191.9 kB / 17.31 MB, free: 5.609 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.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.739/1.739, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001442/0.001442, allocations: 75.03 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2304, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003772/0.2342, allocations: 2.189 MB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3851/0.6194, allocations: 1.287 MB / 0.7882 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.6197, allocations: 5.906 kB / 0.7882 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007777/0.6205, allocations: 179.2 kB / 0.7884 GB, free: 46.5 MB / 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.0005046/0.6211, allocations: 125.5 kB / 0.7885 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.6215, allocations: 123.5 kB / 0.7886 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.6218, allocations: 228.6 kB / 0.7888 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.622, allocations: 40.5 kB / 0.7889 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.6222, allocations: 102.8 kB / 0.789 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.6224, allocations: 94.92 kB / 0.789 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.6224, allocations: 10.5 kB / 0.7891 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.6226, allocations: 52.94 kB / 0.7891 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.755e-05/0.6227, allocations: 91.17 kB / 0.7892 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.6228, allocations: 135.1 kB / 0.7893 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.6232, allocations: 366 kB / 0.7897 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6232, allocations: 0 / 0.7897 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6232, allocations: 0 / 0.7897 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.6232, allocations: 0 / 0.7897 GB, free: 46.3 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.0008826/0.6241, allocations: 0.6675 MB / 0.7903 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.6242, allocations: 11.06 kB / 0.7903 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.6243, allocations: 43.47 kB / 0.7904 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.6246, allocations: 359.5 kB / 0.7907 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.6247, allocations: 10 kB / 0.7907 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.6247, allocations: 4.781 kB / 0.7907 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.6249, allocations: 82.05 kB / 0.7908 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.6249, allocations: 0 / 0.7908 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.6249, allocations: 4.812 kB / 0.7908 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.6249, allocations: 2.625 kB / 0.7908 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.625, allocations: 40.44 kB / 0.7909 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.6256, allocations: 461 kB / 0.7913 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.6258, allocations: 64.61 kB / 0.7914 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.6258, allocations: 30.55 kB / 0.7914 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.6259, allocations: 3.219 kB / 0.7914 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.626, allocations: 74.5 kB / 0.7915 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.626, allocations: 0 / 0.7915 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0003322/0.6263, allocations: 144.8 kB / 0.7916 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.6264, allocations: 55.09 kB / 0.7917 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/0.6269, allocations: 0.5415 MB / 0.7922 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.6269, allocations: 31.8 kB / 0.7922 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.627, allocations: 214.9 kB / 0.7924 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.627, allocations: 14.14 kB / 0.7924 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.6271, allocations: 42.5 kB / 0.7925 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.6272, allocations: 358.2 kB / 0.7928 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.6273, allocations: 53.25 kB / 0.7929 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.977e-05/0.6274, allocations: 77.95 kB / 0.7929 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.6275, allocations: 89.39 kB / 0.793 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6276, allocations: 1.438 kB / 0.793 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00026/0.6278, allocations: 192.9 kB / 0.7932 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.6278, allocations: 4.781 kB / 0.7932 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6279, allocations: 3.5 kB / 0.7932 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.6279, allocations: 0 / 0.7932 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.628, allocations: 29.33 kB / 0.7932 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.628, allocations: 7.438 kB / 0.7932 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.6281, allocations: 13.52 kB / 0.7933 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.6282, allocations: 10.36 kB / 0.7933 GB, free: 44.27 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.0001328/0.6283, allocations: 179.3 kB / 0.7934 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.6283, allocations: 40.62 kB / 0.7935 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.6e-05/0.6284, allocations: 46.41 kB / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6284, allocations: 2.156 kB / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6284, allocations: 6.062 kB / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.6284, allocations: 0 / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.6286, allocations: 297.8 kB / 0.7938 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6286, allocations: 3.469 kB / 0.7938 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.6287, allocations: 6.781 kB / 0.7938 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6287, allocations: 2.859 kB / 0.7938 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.6287, allocations: 0 / 0.7938 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6287, allocations: 0 / 0.7938 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6287, allocations: 3.938 kB / 0.7938 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.6289, allocations: 148.9 kB / 0.794 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.629, allocations: 116.8 kB / 0.7941 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.629, allocations: 6.406 kB / 0.7941 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.6291, allocations: 4.219 kB / 0.7941 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.6292, allocations: 16.66 kB / 0.7941 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.6292, allocations: 7.312 kB / 0.7941 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003027/0.6295, allocations: 362.8 kB / 0.7945 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6295, allocations: 0 / 0.7945 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002539/0.6297, allocations: 49.25 kB / 0.7945 GB, free: 43.64 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.0009927/0.6307, allocations: 435.1 kB / 0.7949 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.631, allocations: 89.83 kB / 0.795 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.631, allocations: 0 / 0.795 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.104e-05/0.6311, allocations: 26.08 kB / 0.795 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.6314, allocations: 61.44 kB / 0.7951 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/0.6323, allocations: 0.6808 MB / 0.7958 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.6325, allocations: 0.8077 MB / 0.7966 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.6326, allocations: 27.88 kB / 0.7966 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6326, allocations: 0 / 0.7966 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.006829/0.6394, allocations: 4.11 MB / 0.8006 GB, free: 41.91 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)