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.0007748/0.0007747, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004847/0.004847, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.262/1.262, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.608/1.608, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.00048/0.00048, allocations: 16.34 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.198, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002306/0.2004, allocations: 1.886 MB / 0.7898 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.2021, allocations: 1.251 MB / 0.7911 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.2022, allocations: 3.938 kB / 0.7911 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.2027, allocations: 188 kB / 0.7912 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.203, allocations: 111.5 kB / 0.7913 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.2033, allocations: 107.8 kB / 0.7915 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.2035, allocations: 219.1 kB / 0.7917 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2037, allocations: 44.31 kB / 0.7917 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2038, allocations: 87.5 kB / 0.7918 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.2039, allocations: 91.55 kB / 0.7919 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.204, allocations: 11.88 kB / 0.7919 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.2041, allocations: 35.98 kB / 0.7919 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.956e-05/0.2042, allocations: 91.66 kB / 0.792 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2043, allocations: 152.6 kB / 0.7922 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.2046, allocations: 342.6 kB / 0.7925 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.2046, allocations: 0 / 0.7925 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2046, allocations: 0 / 0.7925 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.2047, allocations: 0 / 0.7925 GB, free: 6.863 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.0007816/0.2054, allocations: 0.6222 MB / 0.7931 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2055, allocations: 8.031 kB / 0.7931 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.2055, allocations: 46.73 kB / 0.7931 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.684e-05/0.2056, allocations: 44.38 kB / 0.7932 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.206, allocations: 348.3 kB / 0.7935 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.206, allocations: 12.06 kB / 0.7935 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.206, allocations: 15.94 kB / 0.7935 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.2062, allocations: 69.66 kB / 0.7936 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.2062, allocations: 0 / 0.7936 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.2062, allocations: 8 kB / 0.7936 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2062, allocations: 0 / 0.7936 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.2063, allocations: 43.91 kB / 0.7937 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.207, allocations: 460.5 kB / 0.7941 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.2072, allocations: 74.66 kB / 0.7942 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.368e-05/0.2072, allocations: 20.86 kB / 0.7942 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2073, allocations: 4 kB / 0.7942 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.2074, allocations: 75.31 kB / 0.7943 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.2074, allocations: 0 / 0.7943 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003079/0.2077, allocations: 149 kB / 0.7944 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.2078, allocations: 55.41 kB / 0.7945 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.2083, allocations: 0.5294 MB / 0.795 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2083, allocations: 25.7 kB / 0.795 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.2085, allocations: 227.9 kB / 0.7952 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.2085, allocations: 15.81 kB / 0.7952 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.2086, allocations: 25.7 kB / 0.7953 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2087, allocations: 354.9 kB / 0.7956 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2088, allocations: 55.91 kB / 0.7956 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.209, allocations: 78.48 kB / 0.7957 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.2091, allocations: 84.52 kB / 0.7958 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2091, allocations: 0 / 0.7958 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002951/0.2094, allocations: 197 kB / 0.796 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2094, allocations: 4 kB / 0.796 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2094, allocations: 4 kB / 0.796 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.2095, allocations: 3.938 kB / 0.796 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2096, allocations: 31.98 kB / 0.796 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2096, allocations: 7.984 kB / 0.796 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2097, allocations: 11.98 kB / 0.796 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.2097, allocations: 8 kB / 0.7961 GB, free: 2.941 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.0001627/0.2099, allocations: 184.8 kB / 0.7962 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.21, allocations: 39.44 kB / 0.7963 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.21, allocations: 51.8 kB / 0.7963 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.21, allocations: 3.938 kB / 0.7963 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2101, allocations: 0 / 0.7963 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2101, allocations: 4 kB / 0.7963 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.2103, allocations: 293.5 kB / 0.7966 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2103, allocations: 0 / 0.7966 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.2103, allocations: 8 kB / 0.7966 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2104, allocations: 0 / 0.7966 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.2104, allocations: 4.25 kB / 0.7966 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2104, allocations: 7.938 kB / 0.7966 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2104, allocations: 0 / 0.7966 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.2106, allocations: 156.5 kB / 0.7968 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.88e-05/0.2107, allocations: 116.5 kB / 0.7969 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.2107, allocations: 0 / 0.7969 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.2108, allocations: 19.92 kB / 0.7969 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.2109, allocations: 7.984 kB / 0.7969 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2109, allocations: 4 kB / 0.7969 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003676/0.2113, allocations: 366.8 kB / 0.7973 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2113, allocations: 0 / 0.7973 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002541/0.2115, allocations: 43.98 kB / 0.7973 GB, free: 1.562 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.001295/0.2128, allocations: 0.9946 MB / 0.7983 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.2131, allocations: 99.95 kB / 0.7984 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2131, allocations: 0 / 0.7984 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.2132, allocations: 31.92 kB / 0.7984 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.2135, allocations: 57.86 kB / 0.7985 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.217, allocations: 3.204 MB / 0.8016 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.2173, allocations: 0.8138 MB / 0.8024 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.611e-05/0.2174, allocations: 21.55 kB / 0.8024 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.2176, allocations: 111.4 kB / 0.8025 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.2176, allocations: 0 / 0.8025 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3786/0.5962, allocations: 6.727 MB / 0.8091 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.5965, allocations: 269.6 kB / 0.8093 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.859, allocations: 0 / 0.8093 GB, free: 5.422 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/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)