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.001057/0.001057, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001153/0.001153, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.61/1.61, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.794/1.794, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001289/0.001289, allocations: 63.55 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2474, allocations: 114.6 MB / 0.7829 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004129/0.2516, allocations: 2.476 MB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.254, allocations: 1.407 MB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.2542, allocations: 3.938 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007465/0.255, allocations: 219.5 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.2554, allocations: 139.4 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.2558, allocations: 151.7 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.2562, allocations: 350.8 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.2564, allocations: 88.7 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.2566, allocations: 143.4 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.2567, allocations: 155.2 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.2568, allocations: 20 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.2569, allocations: 75.95 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2571, allocations: 119.6 kB / 0.7881 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.2572, allocations: 198.5 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.2578, allocations: 0.4904 MB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2578, allocations: 0 / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2578, allocations: 0 / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.2578, allocations: 0 / 0.7887 GB, free: 7.801 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.001303/0.2591, allocations: 0.8006 MB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2591, allocations: 8.031 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.2593, allocations: 60.27 kB / 0.7896 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.2597, allocations: 431.8 kB / 0.79 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2598, allocations: 12.36 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.2598, allocations: 15.94 kB / 0.79 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.2601, allocations: 139 kB / 0.7901 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2601, allocations: 0 / 0.7901 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.2601, allocations: 7.938 kB / 0.7901 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2601, allocations: 0 / 0.7901 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.2603, allocations: 79.97 kB / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009688/0.2613, allocations: 0.6446 MB / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.2617, allocations: 142.6 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.642e-05/0.2618, allocations: 40.84 kB / 0.791 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.2618, allocations: 0 / 0.791 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.262, allocations: 107.4 kB / 0.7911 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.262, allocations: 0 / 0.7911 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0004659/0.2625, allocations: 220.8 kB / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.2626, allocations: 55.41 kB / 0.7914 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006806/0.2633, allocations: 0.6398 MB / 0.792 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.2633, allocations: 33.7 kB / 0.7921 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.2635, allocations: 264.3 kB / 0.7923 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.2635, allocations: 35.55 kB / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.2636, allocations: 61.69 kB / 0.7924 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2638, allocations: 362.8 kB / 0.7927 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.2639, allocations: 79.97 kB / 0.7928 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.2641, allocations: 120.2 kB / 0.7929 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.2643, allocations: 132.5 kB / 0.7931 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2644, allocations: 4.031 kB / 0.7931 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004034/0.2648, allocations: 268.8 kB / 0.7933 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2648, allocations: 7.938 kB / 0.7933 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2648, allocations: 0 / 0.7933 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2648, allocations: 4 kB / 0.7933 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.265, allocations: 31.98 kB / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.265, allocations: 3.984 kB / 0.7934 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.2652, allocations: 23.89 kB / 0.7934 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.2653, allocations: 12.03 kB / 0.7934 GB, free: 2.762 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 ($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.0002023/0.2655, allocations: 213.6 kB / 0.7936 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.2655, allocations: 51.34 kB / 0.7937 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.274e-05/0.2656, allocations: 56.66 kB / 0.7937 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2657, allocations: 0 / 0.7937 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2657, allocations: 4 kB / 0.7937 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2657, allocations: 0 / 0.7937 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.2661, allocations: 385.2 kB / 0.7941 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2661, allocations: 4 kB / 0.7941 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.885e-05/0.2661, allocations: 11.98 kB / 0.7941 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2662, allocations: 4 kB / 0.7941 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.2662, allocations: 4 kB / 0.7941 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2662, allocations: 3.938 kB / 0.7941 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2662, allocations: 0 / 0.7941 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.2666, allocations: 256.3 kB / 0.7943 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.2667, allocations: 128.5 kB / 0.7945 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.2668, allocations: 8.062 kB / 0.7945 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.2669, allocations: 11.98 kB / 0.7945 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.267, allocations: 19.97 kB / 0.7945 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.267, allocations: 7.984 kB / 0.7945 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004246/0.2674, allocations: 434.8 kB / 0.7949 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2674, allocations: 0 / 0.7949 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002878/0.2677, allocations: 59.84 kB / 0.795 GB, free: 1.039 MB / 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 (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.0009577/0.2687, allocations: 426.8 kB / 0.7954 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.2691, allocations: 166 kB / 0.7956 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2691, allocations: 0 / 0.7956 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2692, allocations: 59.91 kB / 0.7956 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.2696, allocations: 81.39 kB / 0.7957 GB, free: 488 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.2711, allocations: 0.9509 MB / 0.7966 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.2715, allocations: 0.861 MB / 0.7975 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.2717, allocations: 38.28 kB / 0.7975 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.2718, allocations: 27.42 kB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of SimCode: time 7.11e-07/0.2718, allocations: 0 / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.009022/0.2808, allocations: 3.885 MB / 0.8013 GB, free: 10.69 MB / 0.6231 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)