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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.3 MB / 308.1 MB, free: 4.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001807/0.001807, allocations: 176.5 kB / 376.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205 MB / 0.6354 GB, free: 9.734 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 107.9 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2819, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005148/0.2871, allocations: 2.469 MB / 0.9846 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.2901, allocations: 1.414 MB / 0.986 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004815/0.2906, allocations: 7.938 kB / 0.986 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000949/0.2916, allocations: 223.5 kB / 0.9862 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006295/0.2923, allocations: 135.4 kB / 0.9864 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.2929, allocations: 143.8 kB / 0.9865 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006704/0.2936, allocations: 334.8 kB / 0.9868 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.2939, allocations: 91.09 kB / 0.9869 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.2942, allocations: 123.3 kB / 0.987 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.2945, allocations: 159.2 kB / 0.9872 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.269e-05/0.2946, allocations: 8 kB / 0.9872 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.2948, allocations: 51.91 kB / 0.9872 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.2949, allocations: 111.6 kB / 0.9873 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.2952, allocations: 182.5 kB / 0.9875 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006792/0.2959, allocations: 490.2 kB / 0.988 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.2959, allocations: 4 kB / 0.988 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2959, allocations: 0 / 0.988 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.996e-05/0.2959, allocations: 0 / 0.988 GB, free: 4.418 MB / 0.7136 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.001691/0.2976, allocations: 0.7967 MB / 0.9888 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.2977, allocations: 12.03 kB / 0.9888 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.2978, allocations: 56.19 kB / 0.9888 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000622/0.2985, allocations: 431.8 kB / 0.9892 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.2985, allocations: 12.36 kB / 0.9893 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.2985, allocations: 19.94 kB / 0.9893 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.2989, allocations: 125.6 kB / 0.9894 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2989, allocations: 7.922 kB / 0.9894 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.2989, allocations: 8 kB / 0.9894 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2989, allocations: 4 kB / 0.9894 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.2991, allocations: 75.97 kB / 0.9895 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.3004, allocations: 0.6445 MB / 0.9901 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.3008, allocations: 138.6 kB / 0.9902 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.855e-05/0.3009, allocations: 44.84 kB / 0.9903 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.301, allocations: 4 kB / 0.9903 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.3012, allocations: 107.3 kB / 0.9904 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.3012, allocations: 0 / 0.9904 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0005203/0.3017, allocations: 208.9 kB / 0.9906 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.3018, allocations: 59.39 kB / 0.9907 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007139/0.3025, allocations: 0.6436 MB / 0.9913 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.3026, allocations: 33.7 kB / 0.9913 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.3028, allocations: 268.3 kB / 0.9916 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.3028, allocations: 31.55 kB / 0.9916 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.344e-05/0.3029, allocations: 53.7 kB / 0.9917 GB, free: 460 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3031, allocations: 370.8 kB / 0.992 GB, free: 80 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.3033, allocations: 79.97 kB / 0.9921 GB, free: 0 / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.3035, allocations: 111.4 kB / 0.9922 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.3037, allocations: 137.4 kB / 0.9923 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3037, allocations: 4.031 kB / 0.9923 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004274/0.3041, allocations: 271 kB / 0.9926 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3042, allocations: 4.781 kB / 0.9926 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3042, allocations: 7.938 kB / 0.9926 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3042, allocations: 0 / 0.9926 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.3044, allocations: 35.92 kB / 0.9926 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3044, allocations: 4 kB / 0.9926 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.3046, allocations: 23.97 kB / 0.9927 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3046, allocations: 8.031 kB / 0.9927 GB, free: 15.38 MB / 0.7292 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.0002145/0.3049, allocations: 213.6 kB / 0.9929 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.3049, allocations: 51.34 kB / 0.9929 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.719e-05/0.305, allocations: 56.66 kB / 0.993 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.305, allocations: 4 kB / 0.993 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.305, allocations: 0 / 0.993 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3051, allocations: 0 / 0.993 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.3054, allocations: 385.2 kB / 0.9933 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3054, allocations: 8 kB / 0.9933 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.404e-05/0.3055, allocations: 8 kB / 0.9934 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3055, allocations: 0 / 0.9934 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3055, allocations: 3.984 kB / 0.9934 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3055, allocations: 0 / 0.9934 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3055, allocations: 0 / 0.9934 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.3078, allocations: 1.839 MB / 0.9952 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.3079, allocations: 128.4 kB / 0.9953 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.3079, allocations: 4 kB / 0.9953 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3081, allocations: 11.98 kB / 0.9953 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.3082, allocations: 19.97 kB / 0.9953 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.3082, allocations: 15.98 kB / 0.9953 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004601/0.3086, allocations: 434.8 kB / 0.9957 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3087, allocations: 0 / 0.9957 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003883/0.309, allocations: 79.91 kB / 0.9958 GB, free: 11.88 MB / 0.7292 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.0009847/0.31, allocations: 415.9 kB / 0.9962 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.3104, allocations: 151.9 kB / 0.9964 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3104, allocations: 8.062 kB / 0.9964 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.3105, allocations: 63.83 kB / 0.9964 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.311, allocations: 70.95 kB / 0.9965 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.3124, allocations: 1.084 MB / 0.9976 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.3129, allocations: 0.8691 MB / 0.9984 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.313, allocations: 42.25 kB / 0.9984 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.141e-05/0.3131, allocations: 31.42 kB / 0.9985 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.3131, allocations: 0 / 0.9985 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of Templates: time 0.008401/0.3215, allocations: 3.93 MB / 1.002 GB, free: 5.285 MB / 0.7292 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)