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.001527/0.001527, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.171/1.171, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.579/1.579, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001382/0.001382, allocations: 70.25 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1989, allocations: 114.6 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00379/0.2027, allocations: 2.432 MB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.2049, allocations: 1.434 MB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.2051, allocations: 11.94 kB / 0.7873 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006587/0.2058, allocations: 223.4 kB / 0.7875 GB, free: 9.219 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.2062, allocations: 155.2 kB / 0.7876 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.2066, allocations: 162.9 kB / 0.7878 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.207, allocations: 338.9 kB / 0.7881 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.2072, allocations: 92.7 kB / 0.7882 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.2073, allocations: 139.4 kB / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.2075, allocations: 147.3 kB / 0.7885 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.2076, allocations: 20 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.2077, allocations: 79.89 kB / 0.7886 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.2079, allocations: 115.6 kB / 0.7887 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.2081, allocations: 194.5 kB / 0.7889 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.2086, allocations: 0.4904 MB / 0.7893 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2086, allocations: 4 kB / 0.7893 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2086, allocations: 0 / 0.7893 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.2087, allocations: 0 / 0.7893 GB, free: 7.305 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.001273/0.2099, allocations: 0.8006 MB / 0.7901 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.21, allocations: 8.031 kB / 0.7901 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.21, allocations: 46.73 kB / 0.7902 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.938e-05/0.2101, allocations: 60.19 kB / 0.7902 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.2106, allocations: 427.8 kB / 0.7906 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2107, allocations: 16.12 kB / 0.7907 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.2107, allocations: 12 kB / 0.7907 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.211, allocations: 134.7 kB / 0.7908 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.211, allocations: 3.938 kB / 0.7908 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.211, allocations: 4 kB / 0.7908 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.211, allocations: 4 kB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.2112, allocations: 83.95 kB / 0.7909 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.2122, allocations: 0.6446 MB / 0.7915 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.2126, allocations: 134.6 kB / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.983e-05/0.2127, allocations: 52.84 kB / 0.7917 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.2128, allocations: 0 / 0.7917 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.213, allocations: 107.3 kB / 0.7918 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.644e-06/0.213, allocations: 4 kB / 0.7918 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0004361/0.2134, allocations: 216.8 kB / 0.792 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.2135, allocations: 51.41 kB / 0.7921 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.2142, allocations: 0.6476 MB / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.2142, allocations: 29.7 kB / 0.7927 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.2144, allocations: 268.3 kB / 0.793 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.2144, allocations: 31.55 kB / 0.793 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-05/0.2145, allocations: 57.7 kB / 0.7931 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.2147, allocations: 374.7 kB / 0.7934 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.2149, allocations: 75.97 kB / 0.7935 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.215, allocations: 118.2 kB / 0.7936 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.2153, allocations: 128.7 kB / 0.7937 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2153, allocations: 4.031 kB / 0.7937 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004096/0.2157, allocations: 271.3 kB / 0.794 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2157, allocations: 11.94 kB / 0.794 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2157, allocations: 0 / 0.794 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2157, allocations: 0 / 0.794 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.2159, allocations: 35.98 kB / 0.794 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/0.216, allocations: 0 / 0.794 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2162, allocations: 27.88 kB / 0.7941 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.2162, allocations: 11.97 kB / 0.7941 GB, free: 2.211 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.000209/0.2164, allocations: 213.7 kB / 0.7943 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.2165, allocations: 55.33 kB / 0.7943 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.276e-05/0.2166, allocations: 56.66 kB / 0.7944 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2166, allocations: 0 / 0.7944 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2166, allocations: 0 / 0.7944 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2166, allocations: 0 / 0.7944 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.217, allocations: 385.2 kB / 0.7947 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.217, allocations: 0 / 0.7947 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.684e-05/0.217, allocations: 12 kB / 0.7948 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2171, allocations: 0 / 0.7948 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2171, allocations: 3.984 kB / 0.7948 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2171, allocations: 7.938 kB / 0.7948 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2171, allocations: 0 / 0.7948 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.2175, allocations: 256.3 kB / 0.795 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.2176, allocations: 128.5 kB / 0.7951 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.2177, allocations: 8.062 kB / 0.7951 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2178, allocations: 15.92 kB / 0.7952 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.2179, allocations: 23.97 kB / 0.7952 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.2179, allocations: 8 kB / 0.7952 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004458/0.2184, allocations: 426.8 kB / 0.7956 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2184, allocations: 0 / 0.7956 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002965/0.2187, allocations: 71.83 kB / 0.7957 GB, free: 492 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 (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.00156/0.2203, allocations: 1.105 MB / 0.7967 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.2206, allocations: 155.9 kB / 0.7969 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2206, allocations: 0 / 0.7969 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.2208, allocations: 59.86 kB / 0.797 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.2212, allocations: 77.55 kB / 0.797 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/0.2258, allocations: 3.887 MB / 0.8008 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.2263, allocations: 0.863 MB / 0.8017 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.2264, allocations: 42.25 kB / 0.8017 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.2267, allocations: 159.4 kB / 0.8019 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of SimCode: time 7.11e-07/0.2267, allocations: 0 / 0.8019 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1508/0.3775, allocations: 9.082 MB / 0.8107 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.473, allocations: 3.984 kB / 0.8107 GB, free: 1.215 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/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)