Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.EngineTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",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.429/1.429, allocations: 252 MB / 267.3 MB, free: 10.81 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.001113/0.001113, allocations: 176.3 kB / 327 MB, free: 2.078 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.584/1.584, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0008085/0.0008084, allocations: 90.14 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003234, allocations: 12.44 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.216, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002367/0.2185, allocations: 2.154 MB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006351/0.2191, allocations: 0.5169 MB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.2192, allocations: 4 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.2196, allocations: 116.5 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.2198, allocations: 83.45 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.2199, allocations: 39.92 kB / 0.9038 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.2201, allocations: 238.5 kB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.2203, allocations: 102.1 kB / 0.9041 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.2204, allocations: 63.72 kB / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.2206, allocations: 91.52 kB / 0.9042 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.2206, allocations: 8 kB / 0.9042 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.66e-05/0.2207, allocations: 8 kB / 0.9042 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.2208, allocations: 63.7 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.2209, allocations: 180.5 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.2211, allocations: 314.9 kB / 0.9048 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2212, allocations: 4 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2212, allocations: 4 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.2212, allocations: 4 kB / 0.9048 GB, free: 59.38 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007111/0.2219, allocations: 0.591 MB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.222, allocations: 12.03 kB / 0.9054 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.222, allocations: 46.73 kB / 0.9054 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.2221, allocations: 44.47 kB / 0.9055 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.2224, allocations: 306.1 kB / 0.9058 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2224, allocations: 12.38 kB / 0.9058 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.2224, allocations: 12.38 kB / 0.9058 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.2227, allocations: 141.9 kB / 0.9059 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2227, allocations: 3.938 kB / 0.9059 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2227, allocations: 8 kB / 0.9059 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2227, allocations: 4 kB / 0.9059 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.2229, allocations: 103.6 kB / 0.906 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007097/0.2237, allocations: 0.5897 MB / 0.9066 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.2239, allocations: 82.56 kB / 0.9067 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.224, allocations: 44.95 kB / 0.9067 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.224, allocations: 7.969 kB / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.224, allocations: 34.56 kB / 0.9068 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.2241, allocations: 4 kB / 0.9068 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003253/0.2244, allocations: 141.2 kB / 0.9069 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.2244, allocations: 55.34 kB / 0.907 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.2247, allocations: 393.9 kB / 0.9073 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2247, allocations: 33.64 kB / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2248, allocations: 216 kB / 0.9076 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.2249, allocations: 27.56 kB / 0.9076 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.2249, allocations: 0 / 0.9076 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.225, allocations: 358.7 kB / 0.9079 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.505e-05/0.2251, allocations: 24.36 kB / 0.908 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.2252, allocations: 57.92 kB / 0.908 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.2253, allocations: 91.3 kB / 0.9081 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2253, allocations: 0 / 0.9081 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002332/0.2256, allocations: 153.1 kB / 0.9083 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2256, allocations: 4 kB / 0.9083 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2256, allocations: 4 kB / 0.9083 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.2256, allocations: 7.984 kB / 0.9083 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2258, allocations: 20 kB / 0.9083 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2258, allocations: 3.938 kB / 0.9083 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.215e-05/0.2259, allocations: 12.08 kB / 0.9083 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.2259, allocations: 11.94 kB / 0.9083 GB, free: 55.52 MB / 0.6042 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.0001577/0.2261, allocations: 161.8 kB / 0.9085 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.2261, allocations: 35.53 kB / 0.9085 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.588e-05/0.2262, allocations: 39.2 kB / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2262, allocations: 4 kB / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2262, allocations: 0 / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2262, allocations: 4 kB / 0.9085 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.2265, allocations: 313.5 kB / 0.9088 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2265, allocations: 0 / 0.9088 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.2267, allocations: 19.98 kB / 0.9089 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2267, allocations: 0 / 0.9089 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2267, allocations: 3.938 kB / 0.9089 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2267, allocations: 0 / 0.9089 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2267, allocations: 0 / 0.9089 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.2271, allocations: 267 kB / 0.9091 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.2271, allocations: 108.7 kB / 0.9092 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.2272, allocations: 4 kB / 0.9092 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.2273, allocations: 7.984 kB / 0.9092 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.2273, allocations: 4 kB / 0.9092 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.2273, allocations: 4 kB / 0.9092 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002773/0.2276, allocations: 287 kB / 0.9095 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2276, allocations: 0 / 0.9095 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002596/0.2279, allocations: 43.84 kB / 0.9096 GB, free: 54.14 MB / 0.6042 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.0004778/0.2284, allocations: 0.7825 MB / 0.9103 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.2286, allocations: 79.84 kB / 0.9104 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2286, allocations: 256 / 0.9104 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.691e-05/0.2287, allocations: 35.98 kB / 0.9104 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.229, allocations: 37.55 kB / 0.9105 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.2317, allocations: 2.86 MB / 0.9133 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.232, allocations: 0.7984 MB / 0.914 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.613e-05/0.232, allocations: 12.64 kB / 0.9141 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.2321, allocations: 107.4 kB / 0.9142 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2322, allocations: 0 / 0.9142 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.2467, allocations: 4.67 MB / 0.9187 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.2469, allocations: 233.2 kB / 0.9189 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.409, allocations: 2.188 kB / 0.9189 GB, free: 44.51 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)