Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 108 kB / 15.6 MB, free: 132 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.001257/0.001257, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.277/1.277, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.637/1.637, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001494/0.001495, allocations: 75.3 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1945, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002144/0.1967, allocations: 0.8529 MB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001396/0.1969, allocations: 43.78 kB / 0.7843 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.1969, allocations: 3.938 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.858e-05/0.197, allocations: 11.86 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.507e-05/0.1971, allocations: 15.88 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.178e-05/0.1972, allocations: 15.98 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.1973, allocations: 67.84 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1974, allocations: 41.38 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.41e-05/0.1975, allocations: 27.81 kB / 0.7845 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.1976, allocations: 39.78 kB / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1976, allocations: 4 kB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.1976, allocations: 8 kB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.1976, allocations: 19.91 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.1977, allocations: 35.75 kB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.1978, allocations: 79.92 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1978, allocations: 0 / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1978, allocations: 0 / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1978, allocations: 0 / 0.7847 GB, free: 12.09 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004448/0.1983, allocations: 391.1 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1983, allocations: 8.031 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.1984, allocations: 42.73 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.1984, allocations: 12.75 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1986, allocations: 196.1 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1986, allocations: 8.375 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.1987, allocations: 8.375 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1988, allocations: 95.94 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.1988, allocations: 11.81 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1989, allocations: 4 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1989, allocations: 0 / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.791e-05/0.1989, allocations: 39.98 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.1995, allocations: 448.6 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.552e-05/0.1995, allocations: 33.22 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.1996, allocations: 21.72 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.1996, allocations: 0 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.1996, allocations: 34.5 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1996, allocations: 4 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001716/0.1998, allocations: 61.53 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.1998, allocations: 81.05 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2, allocations: 173.4 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.2, allocations: 25.7 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.2001, allocations: 108 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.824e-06/0.2001, allocations: 3.906 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.2001, allocations: 21.97 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.2002, allocations: 322.8 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.2003, allocations: 8 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.2003, allocations: 17.7 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.2003, allocations: 25.72 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2004, allocations: 11.94 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.007e-05/0.2005, allocations: 61.59 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2005, allocations: 11.94 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2005, allocations: 0 / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.2005, allocations: 0 / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.2006, allocations: 4 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.2006, allocations: 7.938 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.2006, allocations: 3.906 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2006, allocations: 4 kB / 0.7869 GB, free: 9.555 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.446e-05/0.2007, allocations: 118.5 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.2008, allocations: 15.84 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.2008, allocations: 12.55 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2008, allocations: 4.094 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2008, allocations: 3.984 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2008, allocations: 0 / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.2012, allocations: 482.7 kB / 0.7875 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2012, allocations: 64 / 0.7875 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.2012, allocations: 8 kB / 0.7875 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2013, allocations: 0 / 0.7875 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.2013, allocations: 7.938 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2013, allocations: 3.938 kB / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2013, allocations: 0 / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.59e-05/0.2014, allocations: 85.77 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.2014, allocations: 96.95 kB / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.2015, allocations: 0 / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.484e-05/0.2015, allocations: 0 / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.2015, allocations: 7.984 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.2015, allocations: 0 / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.078e-05/0.2016, allocations: 130.1 kB / 0.7878 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2016, allocations: 0 / 0.7878 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001897/0.2018, allocations: 8 kB / 0.7879 GB, free: 8.48 MB / 0.6075 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 (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.000346/0.2022, allocations: 0.6171 MB / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.2022, allocations: 19.94 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2023, allocations: 0 / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.2023, allocations: 4.219 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.2025, allocations: 20.91 kB / 0.7885 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.2036, allocations: 1.37 MB / 0.7898 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.2038, allocations: 0.6963 MB / 0.7905 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.2039, allocations: 4.438 kB / 0.7905 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.2039, allocations: 27.42 kB / 0.7905 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2039, allocations: 0 / 0.7905 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7562/0.9601, allocations: 1.66 MB / 0.7922 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.46, allocations: 7.688 kB / 0.7922 GB, free: 3.988 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)