Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.635/1.635, allocations: 252 MB / 267 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 187 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.4 MB / 0.5777 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008765/0.0008766, allocations: 91.5 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006269/0.0006269, allocations: 12.89 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.26, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002851/0.2629, allocations: 1.981 MB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.2647, allocations: 1.16 MB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.2649, allocations: 3.938 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005473/0.2655, allocations: 195.2 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.2658, allocations: 127.5 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.2661, allocations: 101.2 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.2664, allocations: 287 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.2666, allocations: 56.89 kB / 0.9041 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.2668, allocations: 115.5 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.2669, allocations: 123.4 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.267, allocations: 8 kB / 0.9044 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.2671, allocations: 24 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.551e-05/0.2672, allocations: 111.6 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.329e-05/0.2673, allocations: 93.39 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.2676, allocations: 355.4 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2676, allocations: 4 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.096e-06/0.2676, allocations: 0 / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2676, allocations: 4 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009608/0.2686, allocations: 0.7075 MB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.2686, allocations: 12.03 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.2687, allocations: 46.55 kB / 0.9057 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.2688, allocations: 55.3 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.2692, allocations: 375.1 kB / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2693, allocations: 8 kB / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.2693, allocations: 15.91 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.2696, allocations: 134.1 kB / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2696, allocations: 0 / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.2696, allocations: 4 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2696, allocations: 0 / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.2698, allocations: 87.86 kB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.2706, allocations: 0.6251 MB / 0.9069 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.271, allocations: 122.7 kB / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.161e-05/0.2711, allocations: 44.86 kB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.2712, allocations: 7.969 kB / 0.9071 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.2714, allocations: 99.31 kB / 0.9072 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.2714, allocations: 0 / 0.9072 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0003865/0.2718, allocations: 200.9 kB / 0.9074 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.2718, allocations: 51.41 kB / 0.9074 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.2724, allocations: 0.6201 MB / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2724, allocations: 37.7 kB / 0.9081 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.2726, allocations: 252.2 kB / 0.9083 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.2726, allocations: 39.53 kB / 0.9083 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.2727, allocations: 7.938 kB / 0.9084 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.2728, allocations: 370.7 kB / 0.9087 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.2729, allocations: 71.97 kB / 0.9088 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.273, allocations: 113.6 kB / 0.9089 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.2732, allocations: 79.03 kB / 0.909 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2732, allocations: 0 / 0.909 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003349/0.2735, allocations: 264.8 kB / 0.9092 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2736, allocations: 4 kB / 0.9092 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2736, allocations: 0 / 0.9092 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2736, allocations: 4 kB / 0.9092 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.2737, allocations: 27.98 kB / 0.9092 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2737, allocations: 3.938 kB / 0.9092 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.2739, allocations: 35.97 kB / 0.9093 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.274, allocations: 12 kB / 0.9093 GB, free: 54.32 MB / 0.6042 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.0001729/0.2741, allocations: 197.8 kB / 0.9095 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.2742, allocations: 51.34 kB / 0.9095 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.827e-05/0.2743, allocations: 60.44 kB / 0.9096 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2743, allocations: 4 kB / 0.9096 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2743, allocations: 3.984 kB / 0.9096 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2743, allocations: 0 / 0.9096 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.2746, allocations: 361.3 kB / 0.9099 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2746, allocations: 4 kB / 0.9099 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.688e-05/0.2747, allocations: 11.94 kB / 0.91 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2747, allocations: 0 / 0.91 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.2747, allocations: 7.984 kB / 0.91 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2747, allocations: 0 / 0.91 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2747, allocations: 4 kB / 0.91 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.2751, allocations: 248.4 kB / 0.9102 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.2752, allocations: 120.5 kB / 0.9103 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.2752, allocations: 7.938 kB / 0.9103 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.2753, allocations: 19.98 kB / 0.9103 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.2754, allocations: 19.95 kB / 0.9104 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.2754, allocations: 12.06 kB / 0.9104 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003516/0.2758, allocations: 410.8 kB / 0.9108 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2758, allocations: 3.938 kB / 0.9108 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002571/0.2761, allocations: 59.84 kB / 0.9108 GB, free: 52.65 MB / 0.6042 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.001411/0.2775, allocations: 1.096 MB / 0.9119 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002993/0.2778, allocations: 143.9 kB / 0.912 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2778, allocations: 0 / 0.912 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.961e-05/0.2779, allocations: 55.86 kB / 0.9121 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.2783, allocations: 61.33 kB / 0.9121 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.2814, allocations: 2.785 MB / 0.9149 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.2817, allocations: 0.8497 MB / 0.9157 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.2819, allocations: 38.27 kB / 0.9157 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.2821, allocations: 147.4 kB / 0.9159 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/0.2821, allocations: 0 / 0.9159 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.302, allocations: 8.352 MB / 0.924 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.3023, allocations: 246 kB / 0.9243 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/2.578, allocations: 0 / 0.9243 GB, free: 39.05 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)