Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.EngineTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",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.0009669/0.0009669, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009622/0.0009622, allocations: 192.5 kB / 16.13 MB, free: 6.664 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.192/1.192, allocations: 205.1 MB / 222 MB, free: 4.758 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.659/1.659, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001391/0.001391, allocations: 68.8 kB / 0.6709 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1968, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003449/0.2003, allocations: 2.492 MB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.201, allocations: 0.5327 MB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.2011, allocations: 7.938 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.2015, allocations: 120.5 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2016, allocations: 79.45 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.887e-05/0.2017, allocations: 31.98 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.2019, allocations: 238.7 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.2021, allocations: 99.02 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.925e-05/0.2022, allocations: 83.59 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.2023, allocations: 95.56 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.2024, allocations: 19.94 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.155e-05/0.2024, allocations: 12 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.2025, allocations: 71.73 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.2027, allocations: 150.9 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.2029, allocations: 326.7 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2029, allocations: 0 / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2029, allocations: 3.984 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2029, allocations: 4 kB / 0.787 GB, free: 9.547 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007543/0.2037, allocations: 0.6416 MB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2038, allocations: 12.02 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.2038, allocations: 42.75 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.913e-05/0.2039, allocations: 52.36 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.2042, allocations: 298.2 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.2042, allocations: 12.38 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.2043, allocations: 12.38 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.2045, allocations: 145.7 kB / 0.7882 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2046, allocations: 3.938 kB / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.2046, allocations: 8 kB / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2046, allocations: 4 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.2048, allocations: 95.89 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.2056, allocations: 0.5858 MB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.2058, allocations: 90.59 kB / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.2059, allocations: 48.78 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.2059, allocations: 7.984 kB / 0.789 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.206, allocations: 34.56 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.206, allocations: 0 / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003313/0.2063, allocations: 141.5 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.2063, allocations: 55.39 kB / 0.7893 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.2067, allocations: 386 kB / 0.7896 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.2067, allocations: 37.7 kB / 0.7897 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2069, allocations: 215.9 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.2069, allocations: 35.48 kB / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.207, allocations: 25.72 kB / 0.7899 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2071, allocations: 354.7 kB / 0.7903 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.2072, allocations: 23.98 kB / 0.7903 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.426e-05/0.2073, allocations: 59.42 kB / 0.7903 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.2074, allocations: 83.36 kB / 0.7904 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2075, allocations: 0 / 0.7904 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002425/0.2077, allocations: 149.1 kB / 0.7906 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2077, allocations: 8.094 kB / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2077, allocations: 0 / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2078, allocations: 4 kB / 0.7906 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2079, allocations: 31.98 kB / 0.7906 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2079, allocations: 0 / 0.7906 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.416e-05/0.208, allocations: 11.92 kB / 0.7906 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.208, allocations: 7.938 kB / 0.7906 GB, free: 5.605 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001406/0.2082, allocations: 165.8 kB / 0.7908 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.2082, allocations: 39.53 kB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.2083, allocations: 39.2 kB / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2083, allocations: 4 kB / 0.7909 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2083, allocations: 0 / 0.7909 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2083, allocations: 0 / 0.7909 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.2086, allocations: 309.6 kB / 0.7912 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2086, allocations: 0 / 0.7912 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.2088, allocations: 27.92 kB / 0.7912 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2088, allocations: 0 / 0.7912 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.2088, allocations: 0 / 0.7912 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2088, allocations: 4 kB / 0.7912 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2088, allocations: 3.938 kB / 0.7912 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.2091, allocations: 262.9 kB / 0.7914 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.2092, allocations: 112.6 kB / 0.7915 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.2093, allocations: 4 kB / 0.7916 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2094, allocations: 3.984 kB / 0.7916 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.2094, allocations: 12.06 kB / 0.7916 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.2094, allocations: 0 / 0.7916 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000242/0.2097, allocations: 283.1 kB / 0.7918 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2097, allocations: 0 / 0.7918 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002713/0.2099, allocations: 43.91 kB / 0.7919 GB, free: 4.223 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0005786/0.2105, allocations: 0.7824 MB / 0.7926 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.2107, allocations: 76.09 kB / 0.7927 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2108, allocations: 192 / 0.7927 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.2108, allocations: 39.86 kB / 0.7928 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.2112, allocations: 33.42 kB / 0.7928 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.2141, allocations: 2.821 MB / 0.7955 GB, free: 360 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.2144, allocations: 0.7984 MB / 0.7963 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.654e-05/0.2145, allocations: 12.64 kB / 0.7963 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2146, allocations: 99.41 kB / 0.7964 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.2146, allocations: 0 / 0.7964 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.2281, allocations: 4.694 MB / 0.801 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.2283, allocations: 209.5 kB / 0.8012 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/1.978, allocations: 0 / 0.8012 GB, free: 10.63 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)