Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 175.7 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 0.578 GB, free: 20.08 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008194/0.0008195, allocations: 90.36 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 10.91 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2056, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002863/0.2085, allocations: 2.169 MB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.2104, allocations: 1.296 MB / 0.9043 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.2106, allocations: 4 kB / 0.9043 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009/0.2115, allocations: 311 kB / 0.9046 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.2118, allocations: 199.3 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.2123, allocations: 201.1 kB / 0.905 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.2126, allocations: 370.8 kB / 0.9053 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.2127, allocations: 72.72 kB / 0.9054 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.2129, allocations: 139.2 kB / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.2131, allocations: 147.2 kB / 0.9057 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.2131, allocations: 8 kB / 0.9057 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.2132, allocations: 43.97 kB / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2133, allocations: 107.5 kB / 0.9058 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.2135, allocations: 204.3 kB / 0.906 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.2138, allocations: 462.3 kB / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2138, allocations: 3.938 kB / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2138, allocations: 0 / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.2139, allocations: 0 / 0.9065 GB, free: 57.68 MB / 0.6042 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.000887/0.2147, allocations: 0.743 MB / 0.9072 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.2148, allocations: 12.03 kB / 0.9072 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.2149, allocations: 46.67 kB / 0.9073 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.2149, allocations: 60.19 kB / 0.9073 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.2153, allocations: 436.5 kB / 0.9077 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.2154, allocations: 11.94 kB / 0.9077 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.2154, allocations: 8 kB / 0.9077 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.2156, allocations: 135.3 kB / 0.9079 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2156, allocations: 4 kB / 0.9079 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.2157, allocations: 4 kB / 0.9079 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2157, allocations: 7.938 kB / 0.9079 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.2158, allocations: 71.89 kB / 0.908 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.2165, allocations: 0.5667 MB / 0.9085 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.2168, allocations: 122.8 kB / 0.9086 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.2169, allocations: 44.84 kB / 0.9087 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.2169, allocations: 3.984 kB / 0.9087 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.2171, allocations: 123.2 kB / 0.9088 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.2171, allocations: 0 / 0.9088 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004183/0.2175, allocations: 233.1 kB / 0.909 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.2176, allocations: 77.11 kB / 0.9091 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.2181, allocations: 0.6797 MB / 0.9098 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2182, allocations: 33.7 kB / 0.9098 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.2183, allocations: 260.4 kB / 0.91 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.2184, allocations: 43.47 kB / 0.9101 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.2184, allocations: 4 kB / 0.9101 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.2185, allocations: 374.8 kB / 0.9104 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.2186, allocations: 67.97 kB / 0.9105 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.2188, allocations: 117.8 kB / 0.9106 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.219, allocations: 146.2 kB / 0.9108 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.219, allocations: 3.938 kB / 0.9108 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003398/0.2193, allocations: 264.8 kB / 0.911 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2194, allocations: 8 kB / 0.911 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.2194, allocations: 0 / 0.911 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2194, allocations: 0 / 0.911 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.2195, allocations: 36.05 kB / 0.9111 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2196, allocations: 3.984 kB / 0.9111 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.2197, allocations: 31.83 kB / 0.9111 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.2198, allocations: 7.984 kB / 0.9111 GB, free: 52.67 MB / 0.6042 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 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * 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.000171/0.2199, allocations: 211.5 kB / 0.9113 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.22, allocations: 55.28 kB / 0.9113 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.094e-05/0.2201, allocations: 65.05 kB / 0.9114 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2201, allocations: 7.938 kB / 0.9114 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2201, allocations: 0 / 0.9114 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2201, allocations: 0 / 0.9114 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.2204, allocations: 369.3 kB / 0.9118 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2204, allocations: 3.938 kB / 0.9118 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.2204, allocations: 11.94 kB / 0.9118 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2204, allocations: 0 / 0.9118 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.2204, allocations: 7.984 kB / 0.9118 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2204, allocations: 4 kB / 0.9118 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2204, allocations: 4 kB / 0.9118 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.2207, allocations: 212.4 kB / 0.912 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.2208, allocations: 136.3 kB / 0.9121 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.2209, allocations: 8 kB / 0.9121 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.221, allocations: 11.98 kB / 0.9122 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.221, allocations: 15.98 kB / 0.9122 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.2211, allocations: 11.98 kB / 0.9122 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003654/0.2214, allocations: 459 kB / 0.9126 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2214, allocations: 0 / 0.9126 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002598/0.2217, allocations: 67.89 kB / 0.9127 GB, free: 50.95 MB / 0.6042 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.001375/0.2231, allocations: 1.083 MB / 0.9137 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.2234, allocations: 147.9 kB / 0.9139 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2234, allocations: 0 / 0.9139 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.2236, allocations: 59.91 kB / 0.9139 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.224, allocations: 89.11 kB / 0.914 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.2281, allocations: 4.101 MB / 0.918 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.2284, allocations: 0.8617 MB / 0.9189 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.2286, allocations: 42.27 kB / 0.9189 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.2287, allocations: 159.4 kB / 0.9191 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of SimCode: time 1.293e-06/0.2287, allocations: 0 / 0.9191 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.246, allocations: 8.966 MB / 0.9278 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/0.2462, allocations: 260.9 kB / 0.9281 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/2.584, allocations: 0 / 0.9281 GB, free: 35.22 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)