Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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 1.451/1.451, allocations: 288.4 MB / 303.6 MB, free: 8.168 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.0008896/0.0008896, allocations: 183 kB / 372.3 MB, free: 10.11 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.122/1.122, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0007258/0.000726, allocations: 80.88 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 13.34 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1729, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.0008381/0.1738, allocations: 0.5251 MB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000113/0.174, allocations: 51.77 kB / 0.9808 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.174, allocations: 0 / 0.9808 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.174, allocations: 3.938 kB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.1741, allocations: 7.938 kB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.762e-05/0.1742, allocations: 15.98 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.195e-05/0.1743, allocations: 63.78 kB / 0.9808 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1744, allocations: 45.31 kB / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.1745, allocations: 19.86 kB / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.1746, allocations: 23.8 kB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1746, allocations: 0 / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.1746, allocations: 4 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.1746, allocations: 7.938 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.1747, allocations: 53.5 kB / 0.981 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.738e-05/0.1748, allocations: 64.08 kB / 0.9811 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1748, allocations: 0 / 0.9811 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.634e-06/0.1748, allocations: 0 / 0.9811 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1748, allocations: 3.938 kB / 0.9811 GB, free: 26.35 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.0003842/0.1752, allocations: 379.2 kB / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1753, allocations: 12.03 kB / 0.9814 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.1753, allocations: 38.73 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.1753, allocations: 12.84 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.1755, allocations: 188.2 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1755, allocations: 12.28 kB / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1755, allocations: 4.375 kB / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.1757, allocations: 105.7 kB / 0.9818 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1757, allocations: 3.938 kB / 0.9818 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1757, allocations: 0 / 0.9818 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1757, allocations: 7.938 kB / 0.9818 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.1758, allocations: 35.98 kB / 0.9818 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.1762, allocations: 448.5 kB / 0.9822 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.962e-05/0.1763, allocations: 41.34 kB / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.1763, allocations: 21.77 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.1763, allocations: 0 / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.1763, allocations: 34.56 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1764, allocations: 3.938 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001603/0.1765, allocations: 57.53 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.1766, allocations: 81.05 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1767, allocations: 169.9 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.1767, allocations: 25.7 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.1767, allocations: 112 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/0.1768, allocations: 3.906 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.1768, allocations: 8.188 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.953e-05/0.1768, allocations: 322.8 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.1768, allocations: 8 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.1769, allocations: 17.7 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.1769, allocations: 25.72 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1769, allocations: 0 / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.273e-05/0.177, allocations: 65.55 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.177, allocations: 11.92 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.177, allocations: 4 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.177, allocations: 0 / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.1771, allocations: 4 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1771, allocations: 0 / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.1771, allocations: 7.906 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.1772, allocations: 0 / 0.9832 GB, free: 23.86 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.316e-05/0.1772, allocations: 129.8 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.1773, allocations: 15.78 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.1773, allocations: 20.55 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1773, allocations: 0 / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1773, allocations: 4 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1773, allocations: 0 / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.1776, allocations: 470.8 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1776, allocations: 4 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.1776, allocations: 8.047 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1776, allocations: 4 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1777, allocations: 4 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1777, allocations: 0 / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1777, allocations: 0 / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.268e-05/0.1777, allocations: 82.62 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.1778, allocations: 96.97 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1778, allocations: 4 kB / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.354e-05/0.1778, allocations: 0 / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.1778, allocations: 0 / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1778, allocations: 4 kB / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.1779, allocations: 132.9 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1779, allocations: 0 / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001807/0.1781, allocations: 8 kB / 0.9842 GB, free: 22.78 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.0002402/0.1783, allocations: 0.6209 MB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.79e-05/0.1784, allocations: 19.94 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1784, allocations: 0 / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.1784, allocations: 4.219 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.1786, allocations: 14.59 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.1793, allocations: 0.5894 MB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.1794, allocations: 0.6965 MB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.047e-05/0.1794, allocations: 4.438 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.1795, allocations: 31.42 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.1795, allocations: 0 / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.115/1.294, allocations: 1.573 MB / 0.9876 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/1.294, allocations: 211.9 kB / 0.9878 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/3.22, allocations: 0 / 0.9878 GB, free: 19.04 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)