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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009078/0.0009077, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009515/0.0009516, allocations: 177.3 kB / 15.95 MB, free: 216 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.701/1.701, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.942/1.942, allocations: 292.6 MB / 0.5498 GB, free: 14.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.000537/0.0005371, allocations: 24.44 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2979, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003335/0.3013, allocations: 1.816 MB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002558/0.3039, allocations: 1.185 MB / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.3042, allocations: 0 / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007655/0.3049, allocations: 179.3 kB / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.3053, allocations: 111.7 kB / 0.7904 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.3057, allocations: 91.77 kB / 0.7905 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.306, allocations: 155.7 kB / 0.7907 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.3062, allocations: 36.38 kB / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.3064, allocations: 91.62 kB / 0.7908 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.3066, allocations: 87.56 kB / 0.7909 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.3066, allocations: 4 kB / 0.7909 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3067, allocations: 35.98 kB / 0.7909 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-05/0.3068, allocations: 79.72 kB / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.3069, allocations: 81.45 kB / 0.7911 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.3072, allocations: 263.6 kB / 0.7913 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3072, allocations: 0 / 0.7913 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3072, allocations: 0 / 0.7913 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3072, allocations: 0 / 0.7913 GB, free: 7.641 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.0008628/0.3081, allocations: 0.626 MB / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3081, allocations: 16.02 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.3082, allocations: 38.56 kB / 0.792 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.3083, allocations: 47.39 kB / 0.792 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.3087, allocations: 335.2 kB / 0.7924 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3087, allocations: 3.984 kB / 0.7924 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.3087, allocations: 8 kB / 0.7924 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.3089, allocations: 77.66 kB / 0.7924 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.3089, allocations: 0 / 0.7924 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3089, allocations: 4 kB / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3089, allocations: 3.938 kB / 0.7925 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.3091, allocations: 39.88 kB / 0.7925 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.3097, allocations: 460.5 kB / 0.7929 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3099, allocations: 70.61 kB / 0.793 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3099, allocations: 0 / 0.793 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.3101, allocations: 79.45 kB / 0.7931 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3101, allocations: 4 kB / 0.7931 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003459/0.3105, allocations: 137.1 kB / 0.7932 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.3105, allocations: 55.45 kB / 0.7933 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.3111, allocations: 0.537 MB / 0.7938 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3111, allocations: 29.7 kB / 0.7938 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.3112, allocations: 216 kB / 0.794 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.3113, allocations: 23.73 kB / 0.794 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.3113, allocations: 0 / 0.794 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3114, allocations: 362.8 kB / 0.7944 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/0.3115, allocations: 47.97 kB / 0.7944 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3116, allocations: 74.55 kB / 0.7945 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.017e-05/0.3117, allocations: 44 kB / 0.7945 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3117, allocations: 0 / 0.7945 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002851/0.312, allocations: 201 kB / 0.7947 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3121, allocations: 10.83 kB / 0.7947 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3121, allocations: 4 kB / 0.7948 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3121, allocations: 4 kB / 0.7948 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3122, allocations: 19.98 kB / 0.7948 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3122, allocations: 4 kB / 0.7948 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.3123, allocations: 11.98 kB / 0.7948 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.3124, allocations: 11.94 kB / 0.7948 GB, free: 3.844 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.0001589/0.3125, allocations: 181.8 kB / 0.795 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.3126, allocations: 47.44 kB / 0.795 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.922e-05/0.3127, allocations: 47.77 kB / 0.7951 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3127, allocations: 0 / 0.7951 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3127, allocations: 0 / 0.7951 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3127, allocations: 3.984 kB / 0.7951 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3129, allocations: 293.5 kB / 0.7953 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3129, allocations: 256 / 0.7953 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.313, allocations: 11.98 kB / 0.7954 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.313, allocations: 0 / 0.7954 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.313, allocations: 4 kB / 0.7954 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.313, allocations: 7.953 kB / 0.7954 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.313, allocations: 0 / 0.7954 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.3132, allocations: 152.5 kB / 0.7955 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.539e-05/0.3133, allocations: 112.6 kB / 0.7956 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.3133, allocations: 7.938 kB / 0.7956 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.3134, allocations: 8 kB / 0.7956 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.3135, allocations: 15.92 kB / 0.7957 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3135, allocations: 7.938 kB / 0.7957 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003337/0.3138, allocations: 358.8 kB / 0.796 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.3138, allocations: 4 kB / 0.796 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000251/0.3141, allocations: 47.83 kB / 0.7961 GB, free: 2.461 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.001285/0.3154, allocations: 0.9975 MB / 0.797 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.3156, allocations: 99.69 kB / 0.7971 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3156, allocations: 0 / 0.7971 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.3157, allocations: 24 kB / 0.7971 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.316, allocations: 49.88 kB / 0.7972 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.3173, allocations: 1.151 MB / 0.7983 GB, free: 228 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.3178, allocations: 0.8219 MB / 0.7991 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.67e-05/0.3179, allocations: 29.52 kB / 0.7991 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.318, allocations: 111.4 kB / 0.7993 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.318, allocations: 0 / 0.7993 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.338, allocations: 6.862 MB / 0.806 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.3383, allocations: 234.3 kB / 0.8062 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.179, allocations: 0 / 0.8062 GB, free: 8.348 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) Environment - environmentSimulation: