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.001073/0.001073, allocations: 109.4 kB / 15.69 MB, free: 128 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.001159/0.001159, allocations: 189.6 kB / 16.62 MB, free: 6.582 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.342/1.342, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.729/1.729, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001402/0.001402, allocations: 66.52 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2217, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003659/0.2254, allocations: 2.453 MB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008275/0.2263, allocations: 0.5364 MB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.201e-05/0.2264, allocations: 4 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.2268, allocations: 124.4 kB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.2269, allocations: 99.2 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.2271, allocations: 43.95 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.2273, allocations: 246.7 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.2275, allocations: 107.1 kB / 0.7871 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.2276, allocations: 83.66 kB / 0.7872 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.2278, allocations: 95.55 kB / 0.7873 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.2278, allocations: 20 kB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.775e-05/0.2279, allocations: 20 kB / 0.7874 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.873e-05/0.228, allocations: 83.62 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.2281, allocations: 159 kB / 0.7876 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.2284, allocations: 346.7 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2284, allocations: 0 / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2284, allocations: 0 / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2284, allocations: 0 / 0.7879 GB, free: 8.855 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.0007907/0.2292, allocations: 0.6416 MB / 0.7885 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2293, allocations: 8.031 kB / 0.7885 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.2293, allocations: 54.73 kB / 0.7886 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.2294, allocations: 44.38 kB / 0.7886 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.2297, allocations: 302.2 kB / 0.7889 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.2298, allocations: 8.375 kB / 0.7889 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.2298, allocations: 16.38 kB / 0.789 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.23, allocations: 141.9 kB / 0.7891 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2301, allocations: 3.938 kB / 0.7891 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.2301, allocations: 7.984 kB / 0.7891 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2301, allocations: 11.94 kB / 0.7891 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.2303, allocations: 91.95 kB / 0.7892 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.2311, allocations: 0.578 MB / 0.7898 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.2313, allocations: 86.61 kB / 0.7898 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.853e-05/0.2314, allocations: 52.83 kB / 0.7899 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.2315, allocations: 3.938 kB / 0.7899 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2315, allocations: 38.56 kB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2315, allocations: 0 / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003364/0.2318, allocations: 141.2 kB / 0.7901 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2319, allocations: 51.41 kB / 0.7901 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.2322, allocations: 390 kB / 0.7905 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2323, allocations: 33.69 kB / 0.7905 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.2324, allocations: 215.9 kB / 0.7907 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.2324, allocations: 35.53 kB / 0.7908 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.2325, allocations: 25.72 kB / 0.7908 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2326, allocations: 350.7 kB / 0.7911 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.2327, allocations: 31.98 kB / 0.7912 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.79e-05/0.2328, allocations: 58.67 kB / 0.7912 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.233, allocations: 87.36 kB / 0.7913 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.233, allocations: 0 / 0.7913 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002541/0.2332, allocations: 153.1 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2333, allocations: 9.406 kB / 0.7914 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2333, allocations: 3.984 kB / 0.7915 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2333, allocations: 0 / 0.7915 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.2334, allocations: 27.94 kB / 0.7915 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2334, allocations: 7.984 kB / 0.7915 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.963e-05/0.2335, allocations: 11.88 kB / 0.7915 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2335, allocations: 7.938 kB / 0.7915 GB, free: 4.914 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.00013/0.2337, allocations: 161.9 kB / 0.7917 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.2337, allocations: 35.53 kB / 0.7917 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.582e-05/0.2338, allocations: 43.2 kB / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2338, allocations: 0 / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2338, allocations: 0 / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2338, allocations: 0 / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.2341, allocations: 309.4 kB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2341, allocations: 0 / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.2342, allocations: 27.92 kB / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2343, allocations: 0 / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2343, allocations: 4 kB / 0.7921 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2343, allocations: 4 kB / 0.7921 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2343, allocations: 0 / 0.7921 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.2346, allocations: 254.9 kB / 0.7923 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.2347, allocations: 108.8 kB / 0.7924 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.2348, allocations: 0 / 0.7924 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.2349, allocations: 3.984 kB / 0.7924 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.2349, allocations: 12.06 kB / 0.7924 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2349, allocations: 4 kB / 0.7924 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002469/0.2352, allocations: 279.1 kB / 0.7927 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2352, allocations: 0 / 0.7927 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002658/0.2354, allocations: 47.84 kB / 0.7927 GB, free: 3.543 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.000573/0.236, allocations: 0.7941 MB / 0.7935 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.2362, allocations: 75.91 kB / 0.7936 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2362, allocations: 0 / 0.7936 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.2363, allocations: 35.92 kB / 0.7936 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.2367, allocations: 25.56 kB / 0.7936 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.2395, allocations: 2.717 MB / 0.7963 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.2398, allocations: 0.7942 MB / 0.7971 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.135e-05/0.2399, allocations: 12.64 kB / 0.7971 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.24, allocations: 99.41 kB / 0.7972 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.24, allocations: 0 / 0.7972 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.2616, allocations: 4.88 MB / 0.802 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.352, allocations: 15.56 kB / 0.802 GB, free: 10.1 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)