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.000904/0.0009041, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001025/0.001026, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.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.65/1.65, allocations: 292.7 MB / 0.5499 GB, free: 14.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.0005359/0.0005362, allocations: 15.31 kB / 0.6737 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2431, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00289/0.2461, allocations: 2.058 MB / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.248, allocations: 1.329 MB / 0.7906 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.2482, allocations: 4 kB / 0.7906 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.2487, allocations: 199.1 kB / 0.7908 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.249, allocations: 135.4 kB / 0.7909 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.2494, allocations: 116.8 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.2498, allocations: 306.9 kB / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.25, allocations: 72.64 kB / 0.7914 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.2502, allocations: 111.4 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.2503, allocations: 135.3 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.2504, allocations: 8 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.2505, allocations: 47.95 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2506, allocations: 107.6 kB / 0.7918 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.2507, allocations: 93.39 kB / 0.7919 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.2512, allocations: 383.1 kB / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2512, allocations: 0 / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2512, allocations: 0 / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2512, allocations: 0 / 0.7922 GB, free: 6.863 MB / 0.6075 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.0009969/0.2522, allocations: 0.7428 MB / 0.793 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2522, allocations: 8.031 kB / 0.793 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.702e-05/0.2523, allocations: 63.2 kB / 0.793 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.2528, allocations: 399.2 kB / 0.7934 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.2529, allocations: 12.23 kB / 0.7934 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.2529, allocations: 12 kB / 0.7934 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.2532, allocations: 142.2 kB / 0.7936 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2532, allocations: 0 / 0.7936 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.2532, allocations: 4 kB / 0.7936 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2532, allocations: 4 kB / 0.7936 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.2534, allocations: 83.91 kB / 0.7937 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.2544, allocations: 0.6525 MB / 0.7943 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.2548, allocations: 134.6 kB / 0.7944 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.276e-05/0.2549, allocations: 44.84 kB / 0.7945 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.2549, allocations: 8 kB / 0.7945 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.2551, allocations: 103.3 kB / 0.7946 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.2551, allocations: 0 / 0.7946 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.000396/0.2555, allocations: 216.8 kB / 0.7948 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.2556, allocations: 51.41 kB / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00073/0.2563, allocations: 0.6476 MB / 0.7955 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.2564, allocations: 29.7 kB / 0.7955 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.2566, allocations: 260.3 kB / 0.7957 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.2567, allocations: 35.55 kB / 0.7958 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.2567, allocations: 8 kB / 0.7958 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.2569, allocations: 374.7 kB / 0.7961 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.2571, allocations: 71.97 kB / 0.7962 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.2572, allocations: 122.6 kB / 0.7963 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.2574, allocations: 79.95 kB / 0.7964 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2574, allocations: 0 / 0.7964 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003888/0.2578, allocations: 263.3 kB / 0.7966 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2578, allocations: 4 kB / 0.7966 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2578, allocations: 4 kB / 0.7967 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2578, allocations: 0 / 0.7967 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.258, allocations: 39.92 kB / 0.7967 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.258, allocations: 11.92 kB / 0.7967 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.2582, allocations: 31.86 kB / 0.7967 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.2582, allocations: 12 kB / 0.7967 GB, free: 2.008 MB / 0.6075 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 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.2584, allocations: 205.7 kB / 0.7969 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.2585, allocations: 59.34 kB / 0.797 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.114e-05/0.2586, allocations: 60.64 kB / 0.7971 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2586, allocations: 0 / 0.7971 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.2586, allocations: 4 kB / 0.7971 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2586, allocations: 0 / 0.7971 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.2589, allocations: 373.4 kB / 0.7974 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.259, allocations: 0 / 0.7974 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-05/0.259, allocations: 15.98 kB / 0.7974 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.259, allocations: 0 / 0.7974 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.2591, allocations: 4 kB / 0.7974 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2591, allocations: 0 / 0.7974 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2591, allocations: 0 / 0.7974 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.2595, allocations: 274.8 kB / 0.7977 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/0.2596, allocations: 124.4 kB / 0.7978 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.2597, allocations: 11.98 kB / 0.7978 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.2598, allocations: 19.98 kB / 0.7978 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.2599, allocations: 19.91 kB / 0.7979 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.2599, allocations: 11.98 kB / 0.7979 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005298/0.2604, allocations: 426.8 kB / 0.7983 GB, free: 348 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2604, allocations: 0 / 0.7983 GB, free: 348 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002716/0.2607, allocations: 56 kB / 0.7983 GB, free: 292 kB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009017/0.2616, allocations: 417.7 kB / 0.7987 GB, free: 24 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.2619, allocations: 151.8 kB / 0.7989 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.262, allocations: 0 / 0.7989 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.2621, allocations: 67.91 kB / 0.7989 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.2625, allocations: 70.84 kB / 0.799 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.2637, allocations: 0.9362 MB / 0.7999 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.2642, allocations: 0.8535 MB / 0.8008 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.2643, allocations: 38.27 kB / 0.8008 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.048e-05/0.2644, allocations: 35.42 kB / 0.8008 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2644, allocations: 3.938 kB / 0.8008 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.007915/0.2723, allocations: 3.612 MB / 0.8044 GB, free: 10.24 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: