Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.729/1.729, allocations: 287.4 MB / 302.6 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 186.2 kB / 371.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008005/0.0008008, allocations: 90.75 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.000424, allocations: 12.55 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2068, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002673/0.2096, allocations: 2.058 MB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.2116, allocations: 1.317 MB / 0.982 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.212, allocations: 7.938 kB / 0.982 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007399/0.2128, allocations: 199.1 kB / 0.9822 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.2132, allocations: 127.5 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.2136, allocations: 123.7 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.214, allocations: 310.8 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.2142, allocations: 87.05 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.2144, allocations: 115.4 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.2145, allocations: 135.3 kB / 0.9831 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.2146, allocations: 8 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.2147, allocations: 43.97 kB / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.2148, allocations: 103.6 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.2149, allocations: 97.39 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.2152, allocations: 379.1 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2152, allocations: 0 / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2152, allocations: 3.938 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.2153, allocations: 0 / 0.9837 GB, free: 23 MB / 0.6198 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.000971/0.2162, allocations: 0.7352 MB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2163, allocations: 8.031 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.2163, allocations: 42.73 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.294e-05/0.2164, allocations: 60.19 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.2169, allocations: 424.1 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.2169, allocations: 16.36 kB / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.217, allocations: 16 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.2172, allocations: 134.1 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2172, allocations: 0 / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.2172, allocations: 3.938 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2173, allocations: 4 kB / 0.9851 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.2174, allocations: 88.83 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008823/0.2183, allocations: 0.6523 MB / 0.9858 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.2187, allocations: 134.7 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.2188, allocations: 44.84 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.2188, allocations: 3.984 kB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.219, allocations: 103.4 kB / 0.9861 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.219, allocations: 4 kB / 0.9861 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0003871/0.2194, allocations: 212.8 kB / 0.9863 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2194, allocations: 59.41 kB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005729/0.22, allocations: 0.6397 MB / 0.987 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.22, allocations: 33.7 kB / 0.987 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.2202, allocations: 252.4 kB / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.2202, allocations: 39.55 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.2202, allocations: 4 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/0.2203, allocations: 374.7 kB / 0.9876 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.2204, allocations: 75.97 kB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2206, allocations: 112.7 kB / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.2208, allocations: 144 kB / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2208, allocations: 0 / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003342/0.2211, allocations: 268.6 kB / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2212, allocations: 4 kB / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2212, allocations: 0 / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2212, allocations: 4 kB / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2213, allocations: 43.92 kB / 0.9883 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2214, allocations: 0 / 0.9883 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.2215, allocations: 39.94 kB / 0.9883 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2216, allocations: 4 kB / 0.9883 GB, free: 18.03 MB / 0.6198 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.0001693/0.2218, allocations: 218.1 kB / 0.9885 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.2218, allocations: 51.34 kB / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.2219, allocations: 56.59 kB / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2219, allocations: 4 kB / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2219, allocations: 4 kB / 0.9886 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2219, allocations: 0 / 0.9886 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.2222, allocations: 381.2 kB / 0.989 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2222, allocations: 0 / 0.989 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.2222, allocations: 12 kB / 0.989 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2222, allocations: 0 / 0.989 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2223, allocations: 3.984 kB / 0.989 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2223, allocations: 0 / 0.989 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2223, allocations: 4 kB / 0.989 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.2226, allocations: 264.3 kB / 0.9893 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.2227, allocations: 124.4 kB / 0.9894 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.2228, allocations: 4 kB / 0.9894 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2229, allocations: 19.98 kB / 0.9894 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.223, allocations: 23.95 kB / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.223, allocations: 8 kB / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00036/0.2234, allocations: 430.8 kB / 0.9898 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2234, allocations: 0 / 0.9898 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002844/0.2237, allocations: 63.84 kB / 0.9899 GB, free: 16.3 MB / 0.6198 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.001265/0.2249, allocations: 1.115 MB / 0.991 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002785/0.2252, allocations: 151.9 kB / 0.9911 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2252, allocations: 0 / 0.9911 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.2253, allocations: 55.92 kB / 0.9912 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.2257, allocations: 74.05 kB / 0.9913 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.2291, allocations: 2.91 MB / 0.9941 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.2294, allocations: 0.861 MB / 0.995 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.2296, allocations: 38.27 kB / 0.995 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.2297, allocations: 159.4 kB / 0.9951 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.2297, allocations: 0 / 0.9951 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/0.3299, allocations: 8.92 MB / 1.004 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.3301, allocations: 233.2 kB / 1.004 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/2.696, allocations: 0 / 1.004 GB, free: 1.984 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)