Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",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 2/2, allocations: 288.4 MB / 303.3 MB, free: 8.18 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.001113/0.001113, allocations: 181.6 kB / 372 MB, free: 10.29 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.105/2.105, allocations: 205.4 MB / 0.6307 GB, free: 9.906 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.000729/0.0007289, allocations: 92.44 kB / 0.7441 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 12.28 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2263, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.000876/0.2272, allocations: 0.5213 MB / 0.9802 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001286/0.2273, allocations: 51.72 kB / 0.9802 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.2274, allocations: 0 / 0.9802 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.2274, allocations: 7.922 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.105e-05/0.2275, allocations: 7.922 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.818e-05/0.2276, allocations: 15.98 kB / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.9e-05/0.2277, allocations: 59.84 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2278, allocations: 41.5 kB / 0.9803 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.973e-05/0.2279, allocations: 15.88 kB / 0.9803 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.2279, allocations: 27.8 kB / 0.9804 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.2279, allocations: 0 / 0.9804 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.228, allocations: 4 kB / 0.9804 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.228, allocations: 7.922 kB / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.228, allocations: 37.64 kB / 0.9804 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.936e-05/0.2281, allocations: 64.09 kB / 0.9805 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2281, allocations: 0 / 0.9805 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2281, allocations: 0 / 0.9805 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2281, allocations: 0 / 0.9805 GB, free: 26.7 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003366/0.2285, allocations: 379 kB / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.2285, allocations: 12.02 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.2285, allocations: 38.56 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.2286, allocations: 11.89 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.2288, allocations: 198.8 kB / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.2288, allocations: 8 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.2288, allocations: 8 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.2289, allocations: 95.36 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.229, allocations: 0 / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.229, allocations: 4 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.229, allocations: 3.938 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.898e-05/0.2291, allocations: 43.92 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.2296, allocations: 452.5 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.835e-05/0.2296, allocations: 45.3 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.2297, allocations: 13.78 kB / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.2297, allocations: 4 kB / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.2297, allocations: 30.56 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2297, allocations: 0 / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001609/0.2299, allocations: 61.53 kB / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.2299, allocations: 77.11 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.23, allocations: 166.2 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.23, allocations: 33.64 kB / 0.9821 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.2301, allocations: 115.8 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.376e-06/0.2301, allocations: 8 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.2301, allocations: 0 / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.2302, allocations: 318.8 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.2302, allocations: 4 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.971e-05/0.2302, allocations: 21.72 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.2302, allocations: 15.98 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2302, allocations: 0 / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.071e-05/0.2303, allocations: 69.41 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2304, allocations: 4 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2304, allocations: 0 / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2304, allocations: 0 / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.2305, allocations: 11.98 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2305, allocations: 0 / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.2305, allocations: 0 / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.2305, allocations: 4.062 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.787e-05/0.2306, allocations: 117.8 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.2306, allocations: 11.86 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.2306, allocations: 12.56 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2307, allocations: 3.984 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2307, allocations: 0 / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2307, allocations: 0 / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.231, allocations: 486.6 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.231, allocations: 0 / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.231, allocations: 4 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.231, allocations: 0 / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-06/0.231, allocations: 0 / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.231, allocations: 7.984 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.231, allocations: 7.875 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.39e-05/0.2311, allocations: 81.92 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.2311, allocations: 89 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.2312, allocations: 4 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.2312, allocations: 4 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.2312, allocations: 0 / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.2312, allocations: 0 / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.548e-05/0.2313, allocations: 128.9 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2313, allocations: 3.938 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000166/0.2315, allocations: 12.03 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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.0002493/0.2317, allocations: 0.6248 MB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.117e-05/0.2318, allocations: 15.98 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2318, allocations: 8.094 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/0.2319, allocations: 8 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.232, allocations: 4 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.2327, allocations: 0.5862 MB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.751e-05/0.2328, allocations: 0.6926 MB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.2328, allocations: 16.5 kB / 0.9855 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.2329, allocations: 23.42 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.2329, allocations: 0 / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01141/0.2443, allocations: 1.595 MB / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.2445, allocations: 208.6 kB / 0.9873 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/1.823, allocations: 0 / 0.9873 GB, free: 19.4 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)