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.001157/0.001156, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001263/0.001263, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.341/1.341, 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.759/1.759, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.001429/0.001429, allocations: 75.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2359, allocations: 114.5 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004002/0.2399, allocations: 2.434 MB / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3845/0.6244, allocations: 1.432 MB / 0.7878 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.6248, allocations: 5.406 kB / 0.7878 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006558/0.6254, allocations: 223.1 kB / 0.788 GB, free: 45.95 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.0003946/0.6259, allocations: 166 kB / 0.7882 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.6263, allocations: 153.8 kB / 0.7883 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.6266, allocations: 351.2 kB / 0.7887 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.6268, allocations: 92.38 kB / 0.7887 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.627, allocations: 135.5 kB / 0.7889 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.6271, allocations: 151.3 kB / 0.789 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.6272, allocations: 22.75 kB / 0.789 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.6273, allocations: 64.09 kB / 0.7891 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.787e-05/0.6274, allocations: 130 kB / 0.7892 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.6276, allocations: 189.6 kB / 0.7894 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.628, allocations: 0.489 MB / 0.7899 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.628, allocations: 3.875 kB / 0.7899 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.002e-06/0.628, allocations: 0 / 0.7899 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.628, allocations: 2.062 kB / 0.7899 GB, free: 45.69 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.0009883/0.629, allocations: 0.8097 MB / 0.7907 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.6291, allocations: 7.875 kB / 0.7907 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.779e-05/0.6292, allocations: 64.39 kB / 0.7907 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.6296, allocations: 414.7 kB / 0.7911 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.6296, allocations: 13.06 kB / 0.7912 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.6296, allocations: 12.31 kB / 0.7912 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.6299, allocations: 138.7 kB / 0.7913 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.6299, allocations: 1.344 kB / 0.7913 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.6299, allocations: 3.531 kB / 0.7913 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6299, allocations: 3.062 kB / 0.7913 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.6301, allocations: 83.03 kB / 0.7914 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.631, allocations: 0.6404 MB / 0.792 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.6313, allocations: 131.6 kB / 0.7921 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.203e-05/0.6314, allocations: 53.12 kB / 0.7922 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.6315, allocations: 2.625 kB / 0.7922 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.6317, allocations: 116 kB / 0.7923 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/0.6317, allocations: 0 / 0.7923 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0003918/0.6321, allocations: 207.9 kB / 0.7925 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.6321, allocations: 55.03 kB / 0.7926 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.6327, allocations: 0.6479 MB / 0.7932 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.6328, allocations: 35.41 kB / 0.7932 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.6329, allocations: 254.5 kB / 0.7935 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.633, allocations: 41.59 kB / 0.7935 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/0.633, allocations: 48.67 kB / 0.7935 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.6331, allocations: 376.9 kB / 0.7939 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.6332, allocations: 77.86 kB / 0.794 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.6334, allocations: 115 kB / 0.7941 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.6336, allocations: 129.5 kB / 0.7942 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6336, allocations: 1.25 kB / 0.7942 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003386/0.6339, allocations: 271.7 kB / 0.7945 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.634, allocations: 6.562 kB / 0.7945 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.634, allocations: 4.062 kB / 0.7945 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.634, allocations: 4.406 kB / 0.7945 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.6342, allocations: 37.03 kB / 0.7945 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.6342, allocations: 7.062 kB / 0.7945 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.6344, allocations: 25.42 kB / 0.7946 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.6344, allocations: 12.16 kB / 0.7946 GB, free: 43.54 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.0001533/0.6345, allocations: 209.7 kB / 0.7948 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.6346, allocations: 58.47 kB / 0.7948 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.611e-05/0.6347, allocations: 52.58 kB / 0.7949 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6347, allocations: 3.469 kB / 0.7949 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6347, allocations: 0 / 0.7949 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6347, allocations: 0 / 0.7949 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.635, allocations: 377.8 kB / 0.7952 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.635, allocations: 0 / 0.7952 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.364e-05/0.635, allocations: 10.66 kB / 0.7952 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.6351, allocations: 0 / 0.7952 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.6351, allocations: 7.406 kB / 0.7953 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6351, allocations: 4 kB / 0.7953 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6351, allocations: 0 / 0.7953 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.6355, allocations: 263.7 kB / 0.7955 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.6355, allocations: 125.3 kB / 0.7956 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.6356, allocations: 7.016 kB / 0.7956 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.6357, allocations: 13.75 kB / 0.7956 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.6358, allocations: 19.38 kB / 0.7957 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.6358, allocations: 14.11 kB / 0.7957 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003509/0.6362, allocations: 425.6 kB / 0.7961 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6362, allocations: 0 / 0.7961 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002799/0.6365, allocations: 64.94 kB / 0.7961 GB, free: 42.87 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.000941/0.6374, allocations: 433.1 kB / 0.7966 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.6377, allocations: 157.2 kB / 0.7967 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6378, allocations: 4.062 kB / 0.7967 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.6379, allocations: 59.06 kB / 0.7968 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.6383, allocations: 80.52 kB / 0.7968 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.6394, allocations: 0.8858 MB / 0.7977 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.6396, allocations: 0.8562 MB / 0.7985 GB, free: 41.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.6397, allocations: 30.38 kB / 0.7986 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.6397, allocations: 3.938 kB / 0.7986 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.009757/0.6495, allocations: 5.419 MB / 0.8039 GB, free: 40.91 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)