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.001218/0.001218, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001739/0.001739, allocations: 168.7 kB / 15.95 MB, free: 204 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.429/1.429, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.623/1.623, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0007033/0.0007033, allocations: 21.38 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2856, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002881/0.2886, allocations: 1.847 MB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.2903, allocations: 1.192 MB / 0.7903 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.2905, allocations: 11.88 kB / 0.7903 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.291, allocations: 171.3 kB / 0.7904 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.2912, allocations: 103.5 kB / 0.7905 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.2915, allocations: 103 kB / 0.7906 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.2918, allocations: 203.1 kB / 0.7908 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.2919, allocations: 32.38 kB / 0.7909 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.2921, allocations: 87.56 kB / 0.7909 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.2922, allocations: 91.56 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.2922, allocations: 8 kB / 0.791 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2923, allocations: 35.97 kB / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.2924, allocations: 83.67 kB / 0.7911 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.2925, allocations: 81.45 kB / 0.7912 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.2929, allocations: 263.7 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2929, allocations: 0 / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2929, allocations: 0 / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.2929, allocations: 0 / 0.7915 GB, free: 7.629 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.001049/0.294, allocations: 0.6337 MB / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.294, allocations: 8.031 kB / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.163e-05/0.2941, allocations: 51.38 kB / 0.7921 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.2945, allocations: 323.3 kB / 0.7925 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2946, allocations: 7.938 kB / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2946, allocations: 8 kB / 0.7925 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.2948, allocations: 69.66 kB / 0.7925 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2948, allocations: 4 kB / 0.7925 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.2948, allocations: 8 kB / 0.7925 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.2948, allocations: 3.938 kB / 0.7926 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.2949, allocations: 35.97 kB / 0.7926 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/0.2958, allocations: 460.5 kB / 0.793 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.296, allocations: 70.67 kB / 0.7931 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.2961, allocations: 28.78 kB / 0.7931 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.2961, allocations: 0 / 0.7931 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.2963, allocations: 83.27 kB / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.2963, allocations: 0 / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003362/0.2967, allocations: 145.1 kB / 0.7933 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.2967, allocations: 55.39 kB / 0.7934 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.2973, allocations: 0.5293 MB / 0.7939 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2973, allocations: 25.7 kB / 0.7939 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.2975, allocations: 220 kB / 0.7941 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.2976, allocations: 19.83 kB / 0.7942 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.2976, allocations: 0 / 0.7942 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2978, allocations: 358.8 kB / 0.7945 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.2979, allocations: 55.89 kB / 0.7946 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.298, allocations: 74.48 kB / 0.7946 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.2981, allocations: 54.94 kB / 0.7947 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2981, allocations: 0 / 0.7947 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002824/0.2984, allocations: 193 kB / 0.7949 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2985, allocations: 14.86 kB / 0.7949 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2985, allocations: 4.062 kB / 0.7949 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2985, allocations: 0 / 0.7949 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.2986, allocations: 31.97 kB / 0.7949 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2986, allocations: 0 / 0.7949 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2987, allocations: 12 kB / 0.7949 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.2988, allocations: 7.984 kB / 0.7949 GB, free: 3.852 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.0001828/0.299, allocations: 184.3 kB / 0.7951 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.299, allocations: 51.38 kB / 0.7952 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/0.2991, allocations: 51.75 kB / 0.7952 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2991, allocations: 256 / 0.7952 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2991, allocations: 0 / 0.7952 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2991, allocations: 4 kB / 0.7952 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.2994, allocations: 293.5 kB / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2994, allocations: 0 / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.2994, allocations: 4 kB / 0.7955 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2994, allocations: 0 / 0.7955 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.2994, allocations: 4 kB / 0.7955 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2994, allocations: 3.953 kB / 0.7955 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2994, allocations: 8 kB / 0.7955 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.2997, allocations: 140.5 kB / 0.7956 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.2998, allocations: 120.6 kB / 0.7958 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.2998, allocations: 4 kB / 0.7958 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.2999, allocations: 7.984 kB / 0.7958 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.3, allocations: 19.94 kB / 0.7958 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3, allocations: 7.938 kB / 0.7958 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003454/0.3003, allocations: 358.8 kB / 0.7961 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3003, allocations: 0 / 0.7961 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002579/0.3006, allocations: 51.83 kB / 0.7962 GB, free: 2.469 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.0009684/0.3016, allocations: 413.7 kB / 0.7966 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003062/0.3019, allocations: 95.89 kB / 0.7967 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3019, allocations: 4.062 kB / 0.7967 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.758e-05/0.302, allocations: 24 kB / 0.7967 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3023, allocations: 56.7 kB / 0.7968 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.3034, allocations: 0.7103 MB / 0.7974 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.3039, allocations: 0.8102 MB / 0.7982 GB, free: 480 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.468e-05/0.304, allocations: 33.5 kB / 0.7983 GB, free: 444 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.304, allocations: 19.44 kB / 0.7983 GB, free: 424 kB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.304, allocations: 0 / 0.7983 GB, free: 424 kB / 0.6075 GB Notification: Performance of Templates: time 0.006159/0.3102, allocations: 2.625 MB / 0.8009 GB, free: 13.8 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: