Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.001001/0.001001, allocations: 161.3 kB / 326.5 MB, free: 2.723 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.997/1.997, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0008485/0.0008487, allocations: 99.19 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002995, allocations: 20.16 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2057, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00253/0.2083, allocations: 2.075 MB / 0.8988 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2101, allocations: 1.226 MB / 0.9 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.2104, allocations: 7.938 kB / 0.9 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006695/0.2111, allocations: 199.2 kB / 0.9002 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.2115, allocations: 139.4 kB / 0.9003 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.212, allocations: 123.8 kB / 0.9004 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.2124, allocations: 295 kB / 0.9007 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.2126, allocations: 76.66 kB / 0.9008 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.2127, allocations: 111.4 kB / 0.9009 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.2129, allocations: 131.3 kB / 0.901 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.2129, allocations: 8 kB / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.2131, allocations: 31.98 kB / 0.901 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.927e-05/0.2132, allocations: 111.5 kB / 0.9011 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2133, allocations: 162.7 kB / 0.9013 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.2135, allocations: 351.2 kB / 0.9016 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2136, allocations: 3.938 kB / 0.9016 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2136, allocations: 0 / 0.9016 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2136, allocations: 0 / 0.9016 GB, free: 63.18 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008404/0.2144, allocations: 0.7116 MB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2145, allocations: 12.03 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.2146, allocations: 52.28 kB / 0.9024 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.2149, allocations: 407.8 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.215, allocations: 8.375 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.215, allocations: 16.12 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.2152, allocations: 126.2 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2152, allocations: 0 / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.2153, allocations: 11.98 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2153, allocations: 0 / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.2154, allocations: 75.97 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/0.2163, allocations: 0.629 MB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.2166, allocations: 122.6 kB / 0.9037 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.894e-05/0.2167, allocations: 44.89 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.2167, allocations: 11.92 kB / 0.9038 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.2169, allocations: 103.3 kB / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.217, allocations: 0 / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0003669/0.2173, allocations: 196.9 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.2174, allocations: 55.41 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.2179, allocations: 0.6279 MB / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2179, allocations: 29.7 kB / 0.9048 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.218, allocations: 256.3 kB / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.2181, allocations: 31.55 kB / 0.9051 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.2181, allocations: 33.7 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.2182, allocations: 366.8 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.2183, allocations: 79.92 kB / 0.9055 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2185, allocations: 113.6 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.2187, allocations: 125.7 kB / 0.9057 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2187, allocations: 4 kB / 0.9057 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003221/0.219, allocations: 271.9 kB / 0.906 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.219, allocations: 8 kB / 0.906 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.219, allocations: 0 / 0.906 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2191, allocations: 3.984 kB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.2192, allocations: 35.92 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2192, allocations: 0 / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.2194, allocations: 31.92 kB / 0.9061 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.2194, allocations: 8 kB / 0.9061 GB, free: 58.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001608/0.2196, allocations: 197.8 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.2196, allocations: 51.38 kB / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/0.2197, allocations: 56.48 kB / 0.9064 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2197, allocations: 4 kB / 0.9064 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2197, allocations: 7.938 kB / 0.9064 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2198, allocations: 0 / 0.9064 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.22, allocations: 377.2 kB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.22, allocations: 0 / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.445e-05/0.2201, allocations: 11.98 kB / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2201, allocations: 0 / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2201, allocations: 8 kB / 0.9068 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2201, allocations: 4 kB / 0.9068 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2201, allocations: 0 / 0.9068 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.2205, allocations: 244.4 kB / 0.907 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.2205, allocations: 124.5 kB / 0.9071 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.2206, allocations: 11.94 kB / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.2207, allocations: 15.98 kB / 0.9072 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.2208, allocations: 19.97 kB / 0.9072 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.2208, allocations: 11.94 kB / 0.9072 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003399/0.2212, allocations: 418.8 kB / 0.9076 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2212, allocations: 0 / 0.9076 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002438/0.2214, allocations: 55.94 kB / 0.9076 GB, free: 56.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.0008928/0.2223, allocations: 411 kB / 0.908 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.2226, allocations: 147.9 kB / 0.9082 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2226, allocations: 3.938 kB / 0.9082 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.753e-05/0.2227, allocations: 51.98 kB / 0.9082 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.2231, allocations: 73.3 kB / 0.9083 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.2242, allocations: 0.9578 MB / 0.9092 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.2245, allocations: 0.8418 MB / 0.91 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.2246, allocations: 31.42 kB / 0.9101 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2246, allocations: 0 / 0.9101 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.006117/0.2307, allocations: 5.08 MB / 0.915 GB, free: 49.22 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)