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.00096/0.0009658, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00186/0.00186, allocations: 168.7 kB / 15.95 MB, free: 204 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.714/1.714, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.811/1.811, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005727/0.0005728, allocations: 14.84 kB / 0.6738 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2729, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002703/0.2756, allocations: 2.066 MB / 0.7894 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.2777, allocations: 1.321 MB / 0.7907 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.2779, allocations: 4 kB / 0.7907 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.2784, allocations: 211.1 kB / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.2788, allocations: 135.4 kB / 0.791 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.2791, allocations: 115.8 kB / 0.7912 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000378/0.2795, allocations: 306.9 kB / 0.7915 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.2797, allocations: 60.7 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.2799, allocations: 115.4 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.2801, allocations: 131.3 kB / 0.7917 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.2802, allocations: 8 kB / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.2803, allocations: 51.95 kB / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.2805, allocations: 107.6 kB / 0.7919 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.2806, allocations: 101.4 kB / 0.792 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.2809, allocations: 375.1 kB / 0.7924 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.281, allocations: 0 / 0.7924 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.281, allocations: 0 / 0.7924 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.281, allocations: 0 / 0.7924 GB, free: 6.723 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.001078/0.2821, allocations: 0.7427 MB / 0.7931 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2821, allocations: 12.02 kB / 0.7931 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.2822, allocations: 38.56 kB / 0.7931 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.553e-05/0.2822, allocations: 67.2 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.2827, allocations: 399.1 kB / 0.7936 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2828, allocations: 8.234 kB / 0.7936 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.2828, allocations: 12 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.2831, allocations: 146.2 kB / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2831, allocations: 0 / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.2831, allocations: 7.984 kB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2832, allocations: 4 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.2833, allocations: 83.92 kB / 0.7938 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.2843, allocations: 0.6407 MB / 0.7945 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.2847, allocations: 138.7 kB / 0.7946 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.442e-05/0.2848, allocations: 52.78 kB / 0.7946 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.2849, allocations: 0 / 0.7946 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.2851, allocations: 107.2 kB / 0.7947 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.2851, allocations: 0 / 0.7947 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0004364/0.2855, allocations: 216.9 kB / 0.7949 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.2856, allocations: 55.41 kB / 0.795 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.2863, allocations: 0.6474 MB / 0.7956 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.2863, allocations: 37.69 kB / 0.7957 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.2865, allocations: 248.5 kB / 0.7959 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.2866, allocations: 43.53 kB / 0.7959 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.2866, allocations: 0 / 0.7959 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2868, allocations: 374.8 kB / 0.7963 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.2869, allocations: 75.97 kB / 0.7964 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.2871, allocations: 118.6 kB / 0.7965 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.2873, allocations: 71.98 kB / 0.7966 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2873, allocations: 0 / 0.7966 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004023/0.2877, allocations: 275.2 kB / 0.7968 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.2877, allocations: 8 kB / 0.7968 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2877, allocations: 3.984 kB / 0.7968 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2877, allocations: 0 / 0.7968 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.2879, allocations: 39.92 kB / 0.7969 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2879, allocations: 0 / 0.7969 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.2881, allocations: 39.81 kB / 0.7969 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.2882, allocations: 11.98 kB / 0.7969 GB, free: 1.809 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.0002078/0.2884, allocations: 205.7 kB / 0.7971 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.2885, allocations: 51.34 kB / 0.7972 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.898e-05/0.2886, allocations: 56.66 kB / 0.7972 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2886, allocations: 4 kB / 0.7972 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2886, allocations: 0 / 0.7972 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2886, allocations: 0 / 0.7972 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.289, allocations: 377.2 kB / 0.7976 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.289, allocations: 8 kB / 0.7976 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.2891, allocations: 8 kB / 0.7976 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2891, allocations: 4 kB / 0.7976 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.2891, allocations: 7.984 kB / 0.7976 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2891, allocations: 0 / 0.7976 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2891, allocations: 0 / 0.7976 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.2896, allocations: 256.2 kB / 0.7979 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.2897, allocations: 132.4 kB / 0.798 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.2897, allocations: 12.06 kB / 0.798 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.2899, allocations: 15.98 kB / 0.798 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.2899, allocations: 23.95 kB / 0.798 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.29, allocations: 4 kB / 0.798 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004658/0.2904, allocations: 426.8 kB / 0.7984 GB, free: 160 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2904, allocations: 0 / 0.7984 GB, free: 160 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002906/0.2907, allocations: 59.91 kB / 0.7985 GB, free: 100 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.001609/0.2924, allocations: 1.128 MB / 0.7996 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.2927, allocations: 151.9 kB / 0.7997 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2927, allocations: 64 / 0.7997 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2928, allocations: 55.98 kB / 0.7998 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.2932, allocations: 66.94 kB / 0.7999 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.2972, allocations: 2.902 MB / 0.8027 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.2977, allocations: 0.8532 MB / 0.8035 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.2978, allocations: 46.25 kB / 0.8036 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.298, allocations: 163.4 kB / 0.8037 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.2981, allocations: 0 / 0.8037 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.3194, allocations: 8.931 MB / 0.8124 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/0.3197, allocations: 237.3 kB / 0.8127 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.312, allocations: 6.625 kB / 0.8127 GB, free: 1.797 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: