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.001717/0.001717, allocations: 99.16 kB / 16.29 MB, free: 6 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.001924/0.001924, allocations: 184.2 kB / 17.22 MB, free: 5.617 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.703/1.703, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.842/1.842, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001459/0.001459, allocations: 75.88 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2257, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003968/0.2297, allocations: 2.422 MB / 0.7864 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3843/0.614, allocations: 1.431 MB / 0.7878 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.6144, allocations: 7.844 kB / 0.7878 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006859/0.6151, allocations: 219.6 kB / 0.7881 GB, free: 46.02 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.0003952/0.6155, allocations: 164.2 kB / 0.7882 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.6159, allocations: 161.3 kB / 0.7884 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.6163, allocations: 349.8 kB / 0.7887 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.6165, allocations: 90.06 kB / 0.7888 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.6166, allocations: 138.8 kB / 0.7889 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.6168, allocations: 151.5 kB / 0.7891 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.6168, allocations: 20.19 kB / 0.7891 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.617, allocations: 69.2 kB / 0.7892 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.6171, allocations: 127.7 kB / 0.7893 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.6172, allocations: 190 kB / 0.7895 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.6176, allocations: 0.5042 MB / 0.7899 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6176, allocations: 0 / 0.7899 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6177, allocations: 0 / 0.7899 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.6177, allocations: 0 / 0.7899 GB, free: 45.75 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.0009333/0.6186, allocations: 0.8065 MB / 0.7907 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.6186, allocations: 8.406 kB / 0.7907 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/0.6187, allocations: 60.34 kB / 0.7908 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.6191, allocations: 423.3 kB / 0.7912 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.6191, allocations: 13.88 kB / 0.7912 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.6192, allocations: 11.84 kB / 0.7912 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.6194, allocations: 136.1 kB / 0.7914 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.6194, allocations: 0 / 0.7914 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.6195, allocations: 5.688 kB / 0.7914 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.6195, allocations: 3.938 kB / 0.7914 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.6196, allocations: 81.02 kB / 0.7914 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.6205, allocations: 0.6424 MB / 0.7921 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.6208, allocations: 129 kB / 0.7922 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.317e-05/0.6209, allocations: 52.84 kB / 0.7922 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.6209, allocations: 3.188 kB / 0.7922 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.6211, allocations: 109.1 kB / 0.7924 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.6211, allocations: 0 / 0.7924 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0003759/0.6215, allocations: 212.1 kB / 0.7926 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.6215, allocations: 59.19 kB / 0.7926 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.6221, allocations: 0.6494 MB / 0.7932 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.6221, allocations: 33.92 kB / 0.7933 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.6222, allocations: 260.7 kB / 0.7935 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.6223, allocations: 33.89 kB / 0.7936 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.6223, allocations: 55.7 kB / 0.7936 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.6224, allocations: 369.3 kB / 0.794 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.6226, allocations: 77.98 kB / 0.794 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.6227, allocations: 116.2 kB / 0.7941 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.6229, allocations: 128.4 kB / 0.7943 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6229, allocations: 0 / 0.7943 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003223/0.6232, allocations: 269.6 kB / 0.7945 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6232, allocations: 7.531 kB / 0.7945 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6233, allocations: 0 / 0.7945 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.6233, allocations: 2.906 kB / 0.7945 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.6234, allocations: 48.52 kB / 0.7946 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6235, allocations: 4.625 kB / 0.7946 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.6236, allocations: 26.33 kB / 0.7946 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.6237, allocations: 10.56 kB / 0.7946 GB, free: 43.61 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.0001532/0.6238, allocations: 202.5 kB / 0.7948 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.6239, allocations: 53.7 kB / 0.7949 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.624, allocations: 59.39 kB / 0.7949 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.624, allocations: 0.5 kB / 0.7949 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.624, allocations: 3.469 kB / 0.7949 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.624, allocations: 1.344 kB / 0.7949 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.6242, allocations: 379.1 kB / 0.7953 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6242, allocations: 0 / 0.7953 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.6243, allocations: 16.14 kB / 0.7953 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.6243, allocations: 3.312 kB / 0.7953 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.6244, allocations: 3.375 kB / 0.7953 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.6244, allocations: 2.344 kB / 0.7953 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.6244, allocations: 0 / 0.7953 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.6248, allocations: 265.1 kB / 0.7956 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.6249, allocations: 129.1 kB / 0.7957 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/0.6249, allocations: 6.594 kB / 0.7957 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.6251, allocations: 11.98 kB / 0.7957 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.6252, allocations: 24.14 kB / 0.7957 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.6252, allocations: 7.25 kB / 0.7957 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004487/0.6256, allocations: 427.1 kB / 0.7961 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6256, allocations: 0 / 0.7961 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002986/0.6259, allocations: 65.39 kB / 0.7962 GB, free: 42.94 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.001157/0.6271, allocations: 424.2 kB / 0.7966 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003519/0.6275, allocations: 164.8 kB / 0.7968 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6275, allocations: 0 / 0.7968 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.6276, allocations: 53.98 kB / 0.7968 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.6281, allocations: 76.38 kB / 0.7969 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.6295, allocations: 0.8311 MB / 0.7977 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.6299, allocations: 0.8582 MB / 0.7985 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.63, allocations: 41.88 kB / 0.7986 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.6301, allocations: 29.89 kB / 0.7986 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of SimCode: time 4.2e-07/0.6301, allocations: 0 / 0.7986 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.01013/0.6403, allocations: 4.025 MB / 0.8025 GB, free: 41.53 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)