Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001032/0.001032, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.389/1.389, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001563/0.001563, allocations: 68.47 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2469, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004339/0.2513, allocations: 2.431 MB / 0.7872 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3831/0.6344, allocations: 1.42 MB / 0.7885 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.6346, allocations: 8.906 kB / 0.7886 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.6353, allocations: 226.3 kB / 0.7888 GB, free: 46.67 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.6356, allocations: 158.4 kB / 0.7889 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.636, allocations: 158.6 kB / 0.7891 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.6363, allocations: 349.2 kB / 0.7894 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.6365, allocations: 89.52 kB / 0.7895 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.6367, allocations: 137.6 kB / 0.7896 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.6368, allocations: 154.4 kB / 0.7898 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.6369, allocations: 22.94 kB / 0.7898 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.637, allocations: 67.36 kB / 0.7899 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.913e-05/0.6371, allocations: 127 kB / 0.79 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.6373, allocations: 187 kB / 0.7902 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.6377, allocations: 0.5046 MB / 0.7906 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6377, allocations: 0 / 0.7906 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6377, allocations: 4.469 kB / 0.7907 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.6377, allocations: 1.219 kB / 0.7907 GB, free: 46.38 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009563/0.6387, allocations: 0.7988 MB / 0.7914 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.6387, allocations: 11.75 kB / 0.7914 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.987e-05/0.6388, allocations: 58.66 kB / 0.7915 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.6392, allocations: 417.7 kB / 0.7919 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.6392, allocations: 9.562 kB / 0.7919 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.6393, allocations: 28.66 kB / 0.7919 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.6395, allocations: 130 kB / 0.7921 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.6395, allocations: 0.6562 kB / 0.7921 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.6396, allocations: 3.938 kB / 0.7921 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6396, allocations: 8.984 kB / 0.7921 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.6397, allocations: 84.42 kB / 0.7922 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008226/0.6406, allocations: 0.6313 MB / 0.7928 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.6409, allocations: 138.8 kB / 0.7929 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.641, allocations: 50.17 kB / 0.7929 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.6411, allocations: 4.281 kB / 0.793 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.6412, allocations: 106.3 kB / 0.7931 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.6413, allocations: 0.625 kB / 0.7931 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.000371/0.6416, allocations: 214.6 kB / 0.7933 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.6417, allocations: 54.59 kB / 0.7933 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005296/0.6422, allocations: 0.6469 MB / 0.7939 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.6422, allocations: 34.14 kB / 0.794 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.6424, allocations: 257.1 kB / 0.7942 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.6424, allocations: 37.64 kB / 0.7943 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.6425, allocations: 56.17 kB / 0.7943 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.6426, allocations: 367.9 kB / 0.7947 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.6427, allocations: 78.45 kB / 0.7947 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.6429, allocations: 120.1 kB / 0.7949 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.6431, allocations: 122.3 kB / 0.795 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6431, allocations: 3.938 kB / 0.795 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003545/0.6434, allocations: 273.9 kB / 0.7952 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6434, allocations: 3.312 kB / 0.7952 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6435, allocations: 8 kB / 0.7952 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.6435, allocations: 0 / 0.7952 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.6436, allocations: 37.62 kB / 0.7953 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6437, allocations: 3.938 kB / 0.7953 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.6438, allocations: 31.12 kB / 0.7953 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.6439, allocations: 11.31 kB / 0.7953 GB, free: 44.24 MB / 0.6544 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.0001479/0.644, allocations: 206.7 kB / 0.7955 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.6441, allocations: 56.08 kB / 0.7956 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.216e-05/0.6442, allocations: 57.69 kB / 0.7956 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6442, allocations: 0 / 0.7956 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6442, allocations: 3.5 kB / 0.7956 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6442, allocations: 0 / 0.7956 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.6444, allocations: 380 kB / 0.796 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.6444, allocations: 0 / 0.796 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.6445, allocations: 15.77 kB / 0.796 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6445, allocations: 0 / 0.796 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.6445, allocations: 3.25 kB / 0.796 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6446, allocations: 4.844 kB / 0.796 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6446, allocations: 0 / 0.796 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.6449, allocations: 261.7 kB / 0.7963 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.514e-05/0.645, allocations: 124.3 kB / 0.7964 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.6451, allocations: 7.344 kB / 0.7964 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.6452, allocations: 13.53 kB / 0.7964 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.6453, allocations: 29.59 kB / 0.7964 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.6453, allocations: 3.406 kB / 0.7964 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003576/0.6457, allocations: 431.6 kB / 0.7968 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6457, allocations: 0 / 0.7968 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002829/0.6459, allocations: 67.19 kB / 0.7969 GB, free: 43.57 MB / 0.6544 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.000914/0.6469, allocations: 427.6 kB / 0.7973 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002938/0.6472, allocations: 165.8 kB / 0.7975 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6472, allocations: 0 / 0.7975 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.6473, allocations: 51.36 kB / 0.7975 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.6477, allocations: 79.06 kB / 0.7976 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.6487, allocations: 0.8322 MB / 0.7984 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.649, allocations: 0.8541 MB / 0.7993 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.6491, allocations: 40.12 kB / 0.7993 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.6492, allocations: 34.41 kB / 0.7993 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.6492, allocations: 0 / 0.7993 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.009035/0.6582, allocations: 4.015 MB / 0.8032 GB, free: 42.16 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)