Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.EngineTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.634/2.634, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001718/0.001718, allocations: 186.7 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.252/2.252, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001663/0.001663, allocations: 94.8 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005083, allocations: 11.7 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2129, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002814/0.2158, allocations: 1.979 MB / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.2168, allocations: 0.5051 MB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2169, allocations: 0 / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.2173, allocations: 119.4 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.2176, allocations: 95.75 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.2177, allocations: 27.97 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.2179, allocations: 167.6 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.2182, allocations: 89.27 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.2183, allocations: 71.72 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.2185, allocations: 91.56 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.2185, allocations: 8 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.123e-05/0.2186, allocations: 8 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.2187, allocations: 75.69 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.2187, allocations: 81.52 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.219, allocations: 247.4 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.219, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.219, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2191, allocations: 0 / 0.9817 GB, free: 24.71 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008851/0.22, allocations: 0.5989 MB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.22, allocations: 12.02 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.2201, allocations: 46.55 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.2201, allocations: 47.44 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.2206, allocations: 293.2 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2206, allocations: 8 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.2207, allocations: 16 kB / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.2211, allocations: 145.1 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2211, allocations: 0 / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2211, allocations: 4 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2211, allocations: 4 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.2215, allocations: 91.89 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/0.2225, allocations: 0.5938 MB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.2228, allocations: 94.59 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2229, allocations: 192 / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2229, allocations: 38.5 kB / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.2229, allocations: 0 / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004827/0.2234, allocations: 145.1 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.2235, allocations: 59.36 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004784/0.2239, allocations: 386 kB / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.224, allocations: 25.7 kB / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.2241, allocations: 224 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.2242, allocations: 35.55 kB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/0.2242, allocations: 0 / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.2243, allocations: 346.8 kB / 0.9848 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.2245, allocations: 24 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.2246, allocations: 55.41 kB / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.2248, allocations: 35.94 kB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2248, allocations: 0 / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003953/0.2252, allocations: 149.1 kB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.2253, allocations: 4 kB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2253, allocations: 0 / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.2253, allocations: 4 kB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.2255, allocations: 27.92 kB / 0.9851 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2256, allocations: 8.406 kB / 0.9851 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.2257, allocations: 19.92 kB / 0.9852 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2258, allocations: 4 kB / 0.9852 GB, free: 20.97 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000206/0.226, allocations: 161.8 kB / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.226, allocations: 31.62 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.09e-05/0.2261, allocations: 43.14 kB / 0.9854 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2261, allocations: 7.938 kB / 0.9854 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2262, allocations: 0 / 0.9854 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2262, allocations: 3.953 kB / 0.9854 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.2266, allocations: 317.4 kB / 0.9857 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2266, allocations: 0 / 0.9857 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.2268, allocations: 19.94 kB / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.2268, allocations: 3.984 kB / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2269, allocations: 4 kB / 0.9857 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2269, allocations: 0 / 0.9857 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2269, allocations: 0 / 0.9857 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.2274, allocations: 255 kB / 0.986 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.2275, allocations: 112.7 kB / 0.9861 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.2276, allocations: 0 / 0.9861 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.2278, allocations: 4 kB / 0.9861 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.2278, allocations: 11.98 kB / 0.9861 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.2279, allocations: 0 / 0.9861 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003722/0.2282, allocations: 275.1 kB / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2283, allocations: 0 / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004213/0.2287, allocations: 47.84 kB / 0.9864 GB, free: 19.61 MB / 0.6198 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 (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.0007421/0.2294, allocations: 0.7942 MB / 0.9872 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.2298, allocations: 75.84 kB / 0.9872 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2298, allocations: 256 / 0.9872 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.2299, allocations: 39.92 kB / 0.9873 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.2303, allocations: 21.56 kB / 0.9873 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.2336, allocations: 2.292 MB / 0.9895 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.234, allocations: 0.7984 MB / 0.9903 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.2341, allocations: 12.62 kB / 0.9903 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.2343, allocations: 107.4 kB / 0.9904 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of SimCode: time 1.143e-06/0.2343, allocations: 7.938 kB / 0.9904 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.264, allocations: 4.809 MB / 0.9951 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/0.2643, allocations: 202.9 kB / 0.9953 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/2.733, allocations: 4.062 kB / 0.9953 GB, free: 10.43 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)