Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.AssertWaterFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",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.001163/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00121/0.00121, allocations: 191 kB / 16.14 MB, free: 6.707 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.189/1.189, allocations: 205.1 MB / 222 MB, free: 4.754 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.509/1.509, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001257/0.001257, allocations: 67.78 kB / 0.6709 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1803, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003615/0.184, allocations: 2.513 MB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.1859, allocations: 1.469 MB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.186, allocations: 0 / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008019/0.1868, allocations: 307.7 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.1872, allocations: 195.3 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.1876, allocations: 219 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.188, allocations: 378.7 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1881, allocations: 72.64 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.1883, allocations: 147.2 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1884, allocations: 159.2 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.1885, allocations: 8 kB / 0.7881 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.1886, allocations: 67.89 kB / 0.7882 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1888, allocations: 123.5 kB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.1889, allocations: 178.6 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.1893, allocations: 482.2 kB / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1893, allocations: 4 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.62e-07/0.1893, allocations: 3.938 kB / 0.7889 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1893, allocations: 0 / 0.7889 GB, free: 7.605 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001008/0.1904, allocations: 0.8336 MB / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1904, allocations: 8.031 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.1904, allocations: 42.73 kB / 0.7898 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.163e-05/0.1905, allocations: 64.19 kB / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.191, allocations: 432.7 kB / 0.7903 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.191, allocations: 12 kB / 0.7903 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.1911, allocations: 12 kB / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.1913, allocations: 137 kB / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1913, allocations: 0 / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1913, allocations: 4 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1914, allocations: 7.938 kB / 0.7904 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.1915, allocations: 71.89 kB / 0.7905 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/0.1923, allocations: 0.5783 MB / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.1926, allocations: 126.8 kB / 0.7912 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1927, allocations: 48.83 kB / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.1927, allocations: 0 / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.1929, allocations: 118.6 kB / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.1929, allocations: 0 / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004794/0.1934, allocations: 240.8 kB / 0.7916 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1935, allocations: 77.11 kB / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006607/0.1941, allocations: 0.6837 MB / 0.7923 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1942, allocations: 29.7 kB / 0.7923 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.1944, allocations: 264.3 kB / 0.7926 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.1944, allocations: 39.55 kB / 0.7926 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-05/0.1945, allocations: 57.59 kB / 0.7927 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1946, allocations: 366.8 kB / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1948, allocations: 83.89 kB / 0.7931 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.195, allocations: 127.9 kB / 0.7932 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.1952, allocations: 135.4 kB / 0.7934 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.1952, allocations: 4 kB / 0.7934 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004177/0.1956, allocations: 267.6 kB / 0.7936 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1957, allocations: 8.938 kB / 0.7936 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1957, allocations: 7.875 kB / 0.7936 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1957, allocations: 0 / 0.7936 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.1958, allocations: 31.98 kB / 0.7937 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1959, allocations: 3.984 kB / 0.7937 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.196, allocations: 27.95 kB / 0.7937 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.196, allocations: 8 kB / 0.7937 GB, free: 2.434 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001959/0.1962, allocations: 207.5 kB / 0.7939 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.1963, allocations: 67.17 kB / 0.794 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.631e-05/0.1964, allocations: 57.05 kB / 0.794 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1964, allocations: 0 / 0.794 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1964, allocations: 0 / 0.794 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1964, allocations: 0 / 0.794 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.1968, allocations: 381.3 kB / 0.7944 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1968, allocations: 4 kB / 0.7944 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.1969, allocations: 11.94 kB / 0.7944 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1969, allocations: 4 kB / 0.7944 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1969, allocations: 3.984 kB / 0.7944 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1969, allocations: 0 / 0.7944 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1969, allocations: 0 / 0.7944 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.1972, allocations: 216.4 kB / 0.7946 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.116e-05/0.1973, allocations: 128.4 kB / 0.7947 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.1974, allocations: 12 kB / 0.7948 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1975, allocations: 7.984 kB / 0.7948 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.1976, allocations: 19.97 kB / 0.7948 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1976, allocations: 4 kB / 0.7948 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004563/0.1981, allocations: 471 kB / 0.7952 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1981, allocations: 0 / 0.7952 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002893/0.1984, allocations: 67.92 kB / 0.7953 GB, free: 0.707 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: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001612/0.2, allocations: 1.091 MB / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.2004, allocations: 147.9 kB / 0.7965 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2004, allocations: 0 / 0.7965 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.2006, allocations: 65.41 kB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.2011, allocations: 82.94 kB / 0.7966 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.2059, allocations: 4.096 MB / 0.8006 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.2064, allocations: 0.8611 MB / 0.8015 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.2066, allocations: 46.95 kB / 0.8015 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.2068, allocations: 171.4 kB / 0.8017 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.2068, allocations: 0 / 0.8017 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3119/0.5187, allocations: 9.314 MB / 0.8108 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.519, allocations: 255.1 kB / 0.811 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.629, allocations: 4 kB / 0.811 GB, free: 0.7734 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)