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.001127/0.001127, allocations: 109.9 kB / 16.38 MB, free: 5.547 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.00122/0.00122, allocations: 190.7 kB / 17.31 MB, free: 5.188 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.594/1.594, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.002458/0.002458, allocations: 74.25 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2864, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004484/0.291, allocations: 2.438 MB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.459/0.75, allocations: 1.422 MB / 0.7886 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.7503, allocations: 4.875 kB / 0.7886 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007552/0.7512, allocations: 232.1 kB / 0.7888 GB, free: 46.51 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.0003997/0.7516, allocations: 154.5 kB / 0.7889 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.752, allocations: 162.7 kB / 0.7891 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.7524, allocations: 345.2 kB / 0.7894 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.7526, allocations: 89.5 kB / 0.7895 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.7528, allocations: 139.8 kB / 0.7896 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.753, allocations: 161.6 kB / 0.7898 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.753, allocations: 21.97 kB / 0.7898 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.7532, allocations: 57.81 kB / 0.7899 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.7533, allocations: 132.5 kB / 0.79 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.7534, allocations: 187.3 kB / 0.7902 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004819/0.7539, allocations: 0.5044 MB / 0.7907 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7539, allocations: 2.812 kB / 0.7907 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7539, allocations: 2.719 kB / 0.7907 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.7539, allocations: 0 / 0.7907 GB, free: 46.23 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.001088/0.755, allocations: 0.8026 MB / 0.7915 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.7551, allocations: 7.625 kB / 0.7915 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.7552, allocations: 61.06 kB / 0.7915 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.7557, allocations: 422.7 kB / 0.7919 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.7557, allocations: 11.47 kB / 0.7919 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.7557, allocations: 15.5 kB / 0.7919 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.756, allocations: 135.7 kB / 0.7921 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.756, allocations: 0 / 0.7921 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.7561, allocations: 5.875 kB / 0.7921 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.7561, allocations: 3.594 kB / 0.7921 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.7562, allocations: 81.77 kB / 0.7922 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008989/0.7571, allocations: 0.6394 MB / 0.7928 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.7576, allocations: 136.8 kB / 0.7929 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.7577, allocations: 46.72 kB / 0.793 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.7577, allocations: 6.125 kB / 0.793 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.7579, allocations: 117.8 kB / 0.7931 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.7579, allocations: 3.406 kB / 0.7931 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0004057/0.7583, allocations: 205.8 kB / 0.7933 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.7584, allocations: 51.41 kB / 0.7933 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005896/0.759, allocations: 0.6474 MB / 0.794 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.759, allocations: 35.23 kB / 0.794 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.7592, allocations: 257.6 kB / 0.7942 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.7592, allocations: 37.45 kB / 0.7943 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/0.7593, allocations: 55.88 kB / 0.7943 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.7594, allocations: 366.2 kB / 0.7947 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.7595, allocations: 77.64 kB / 0.7948 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.7597, allocations: 116 kB / 0.7949 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.7599, allocations: 133.9 kB / 0.795 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.7599, allocations: 5.906 kB / 0.795 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003446/0.7603, allocations: 270.4 kB / 0.7953 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7603, allocations: 3.531 kB / 0.7953 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7603, allocations: 0 / 0.7953 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.7603, allocations: 3.5 kB / 0.7953 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.7605, allocations: 37.58 kB / 0.7953 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.7605, allocations: 3.469 kB / 0.7953 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.7607, allocations: 33.05 kB / 0.7953 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.7607, allocations: 11.75 kB / 0.7953 GB, free: 44.08 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.0001676/0.7609, allocations: 206 kB / 0.7955 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.7609, allocations: 54.62 kB / 0.7956 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-05/0.761, allocations: 55.31 kB / 0.7956 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.761, allocations: 3.312 kB / 0.7957 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.761, allocations: 3.422 kB / 0.7957 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.7611, allocations: 121.5 kB / 0.7958 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.7612, allocations: 9.344 kB / 0.7958 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.7613, allocations: 16.3 kB / 0.7958 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.7614, allocations: 23.16 kB / 0.7958 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000344/0.7617, allocations: 229.8 kB / 0.796 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003949/0.7622, allocations: 412.1 kB / 0.7964 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001007/0.7623, allocations: 50.62 kB / 0.7965 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003861/0.7627, allocations: 431.1 kB / 0.7969 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of Backend: time 8.02e-07/0.7627, allocations: 0 / 0.7969 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.7642, allocations: 0.5205 MB / 0.7974 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001365/0.7656, allocations: 1.313 MB / 0.7987 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.01092/0.7765, allocations: 4.122 MB / 0.8027 GB, free: 42.21 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)