Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 288.4 MB / 303.3 MB, free: 8.207 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.00101/0.00101, allocations: 176.5 kB / 372 MB, free: 10.25 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.596/1.596, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0007181/0.0007183, allocations: 88.94 kB / 0.744 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003767, allocations: 16.25 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2284, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002469/0.231, allocations: 2.061 MB / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.2319, allocations: 0.5009 MB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.2321, allocations: 0 / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.2325, allocations: 111.4 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.2327, allocations: 83.39 kB / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.2328, allocations: 31.98 kB / 0.9824 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.2331, allocations: 230.7 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.2333, allocations: 85.27 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.2334, allocations: 75.66 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.2335, allocations: 87.58 kB / 0.9828 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.2336, allocations: 8 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.702e-05/0.2336, allocations: 11.94 kB / 0.9828 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.2337, allocations: 71.69 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.2338, allocations: 81.52 kB / 0.983 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.234, allocations: 247.4 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.234, allocations: 4 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.284e-06/0.234, allocations: 0 / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.234, allocations: 0 / 0.9832 GB, free: 23.86 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.000731/0.2348, allocations: 0.5948 MB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2348, allocations: 16.02 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.2349, allocations: 50.55 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.2349, allocations: 43.44 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.2353, allocations: 289.2 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2353, allocations: 8 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.2354, allocations: 20 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.2356, allocations: 133.6 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2356, allocations: 0 / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.2357, allocations: 12 kB / 0.9844 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2357, allocations: 11.98 kB / 0.9844 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.2359, allocations: 91.45 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.2366, allocations: 0.5938 MB / 0.985 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.2368, allocations: 82.62 kB / 0.9851 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.312e-05/0.2369, allocations: 52.88 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.237, allocations: 3.938 kB / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.237, allocations: 34.56 kB / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.237, allocations: 0 / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003227/0.2373, allocations: 145.1 kB / 0.9853 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.2374, allocations: 59.36 kB / 0.9854 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.2377, allocations: 382 kB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.2377, allocations: 33.64 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.2378, allocations: 216 kB / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.2378, allocations: 27.56 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.2378, allocations: 8.375 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.777e-05/0.2379, allocations: 342.8 kB / 0.9864 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.16e-05/0.238, allocations: 31.98 kB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.238, allocations: 47.42 kB / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.105e-05/0.2381, allocations: 47.86 kB / 0.9865 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2381, allocations: 0 / 0.9865 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002064/0.2384, allocations: 141.1 kB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2384, allocations: 9.406 kB / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2384, allocations: 0 / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2384, allocations: 4 kB / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.2385, allocations: 27.92 kB / 0.9866 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2386, allocations: 0 / 0.9866 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.2387, allocations: 23.89 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.2387, allocations: 4 kB / 0.9867 GB, free: 20.07 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.0001156/0.2388, allocations: 165.8 kB / 0.9868 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.2388, allocations: 35.56 kB / 0.9869 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.289e-05/0.2389, allocations: 35.22 kB / 0.9869 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2389, allocations: 0 / 0.9869 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2389, allocations: 4 kB / 0.9869 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2389, allocations: 3.984 kB / 0.9869 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.2392, allocations: 313.4 kB / 0.9872 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2392, allocations: 4 kB / 0.9872 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.2393, allocations: 19.98 kB / 0.9872 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2393, allocations: 0 / 0.9872 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2393, allocations: 4 kB / 0.9872 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2393, allocations: 0 / 0.9872 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2393, allocations: 0 / 0.9872 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.2396, allocations: 263 kB / 0.9875 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.2398, allocations: 112.7 kB / 0.9876 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.2398, allocations: 4 kB / 0.9876 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2399, allocations: 4 kB / 0.9876 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.24, allocations: 7.984 kB / 0.9876 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.24, allocations: 0 / 0.9876 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001979/0.2402, allocations: 283.1 kB / 0.9879 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2402, allocations: 0 / 0.9879 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002403/0.2404, allocations: 47.84 kB / 0.9879 GB, free: 18.7 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.0004764/0.2409, allocations: 0.794 MB / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.2411, allocations: 67.91 kB / 0.9888 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2411, allocations: 0 / 0.9888 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.2412, allocations: 44.17 kB / 0.9888 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.2415, allocations: 18.12 kB / 0.9888 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.2436, allocations: 1.892 MB / 0.9907 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.2438, allocations: 0.8041 MB / 0.9915 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.692e-05/0.2439, allocations: 12.64 kB / 0.9915 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.725e-05/0.244, allocations: 103.4 kB / 0.9916 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.244, allocations: 0 / 0.9916 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.2609, allocations: 4.841 MB / 0.9963 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.2611, allocations: 213.8 kB / 0.9965 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/2.375, allocations: 7.062 kB / 0.9965 GB, free: 9.941 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)