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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001052/0.001052, allocations: 177.3 kB / 15.94 MB, free: 228 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.435/1.435, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.825/1.825, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0006506/0.0006507, allocations: 16.88 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2477, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002916/0.2506, allocations: 2.038 MB / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.2527, allocations: 1.302 MB / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.2529, allocations: 7.938 kB / 0.7905 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005307/0.2534, allocations: 207.2 kB / 0.7907 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.2538, allocations: 143.6 kB / 0.7908 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.2541, allocations: 134.1 kB / 0.791 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.2545, allocations: 215.5 kB / 0.7912 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.2547, allocations: 80.67 kB / 0.7912 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.2549, allocations: 115.5 kB / 0.7914 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.2551, allocations: 127.4 kB / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.2552, allocations: 8 kB / 0.7915 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.2553, allocations: 39.91 kB / 0.7915 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.2554, allocations: 107.6 kB / 0.7916 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.659e-05/0.2555, allocations: 97.39 kB / 0.7917 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.2559, allocations: 379.1 kB / 0.7921 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2559, allocations: 0 / 0.7921 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2559, allocations: 0 / 0.7921 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.256, allocations: 0 / 0.7921 GB, free: 6.883 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.001197/0.2572, allocations: 0.7376 MB / 0.7928 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.2572, allocations: 12.02 kB / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.506e-05/0.2573, allocations: 42.56 kB / 0.7928 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.096e-05/0.2574, allocations: 63.2 kB / 0.7929 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.258, allocations: 399.2 kB / 0.7933 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.258, allocations: 12.23 kB / 0.7933 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.2581, allocations: 12 kB / 0.7933 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.2583, allocations: 134.3 kB / 0.7934 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2584, allocations: 4 kB / 0.7934 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.2584, allocations: 7.984 kB / 0.7935 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2584, allocations: 11.94 kB / 0.7935 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.2586, allocations: 83.86 kB / 0.7935 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.2597, allocations: 0.6486 MB / 0.7942 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.2601, allocations: 138.6 kB / 0.7943 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.2601, allocations: 0 / 0.7943 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.2603, allocations: 107.5 kB / 0.7944 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.2603, allocations: 0 / 0.7944 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0004669/0.2608, allocations: 208.8 kB / 0.7946 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.2609, allocations: 59.41 kB / 0.7947 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/0.2615, allocations: 0.6437 MB / 0.7953 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.2616, allocations: 33.7 kB / 0.7953 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.2618, allocations: 256.3 kB / 0.7956 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.2618, allocations: 39.53 kB / 0.7956 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.2618, allocations: 4 kB / 0.7956 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.262, allocations: 370.7 kB / 0.796 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.2621, allocations: 79.95 kB / 0.796 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.2623, allocations: 122.6 kB / 0.7962 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.2624, allocations: 71.98 kB / 0.7962 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2624, allocations: 0 / 0.7962 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000369/0.2628, allocations: 267.2 kB / 0.7965 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2628, allocations: 8 kB / 0.7965 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2629, allocations: 3.984 kB / 0.7965 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.2629, allocations: 4.062 kB / 0.7965 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.2631, allocations: 43.92 kB / 0.7965 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2631, allocations: 0 / 0.7965 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.2633, allocations: 35.83 kB / 0.7966 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.2633, allocations: 7.984 kB / 0.7966 GB, free: 2.027 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.0002334/0.2635, allocations: 209.7 kB / 0.7968 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.2636, allocations: 51.34 kB / 0.7968 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.2637, allocations: 56.66 kB / 0.7969 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2637, allocations: 3.984 kB / 0.7969 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2637, allocations: 4 kB / 0.7969 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2637, allocations: 0 / 0.7969 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.2641, allocations: 369.4 kB / 0.7972 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2641, allocations: 0 / 0.7972 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.444e-05/0.2642, allocations: 8 kB / 0.7973 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.2642, allocations: 4 kB / 0.7973 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2642, allocations: 4 kB / 0.7973 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2642, allocations: 3.984 kB / 0.7973 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2642, allocations: 0 / 0.7973 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.2646, allocations: 268.1 kB / 0.7975 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.2647, allocations: 132.4 kB / 0.7976 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.2648, allocations: 4 kB / 0.7977 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.2649, allocations: 24.05 kB / 0.7977 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.265, allocations: 23.95 kB / 0.7977 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.265, allocations: 4 kB / 0.7977 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004206/0.2655, allocations: 422.8 kB / 0.7981 GB, free: 384 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2655, allocations: 0 / 0.7981 GB, free: 384 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002877/0.2658, allocations: 63.98 kB / 0.7982 GB, free: 320 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.001569/0.2673, allocations: 1.122 MB / 0.7993 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.2677, allocations: 159.8 kB / 0.7994 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2677, allocations: 0 / 0.7994 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.2678, allocations: 51.98 kB / 0.7995 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.2681, allocations: 67.02 kB / 0.7995 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.2698, allocations: 1.389 MB / 0.8009 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.2703, allocations: 0.873 MB / 0.8017 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.2704, allocations: 50.19 kB / 0.8018 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.2706, allocations: 159.4 kB / 0.8019 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.2706, allocations: 0 / 0.8019 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.2921, allocations: 8.741 MB / 0.8105 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.2924, allocations: 225.3 kB / 0.8107 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.311, allocations: 0 / 0.8107 GB, free: 3.711 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) Environment - environmentSimulation: