Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.234/1.234, allocations: 205.1 MB / 222 MB, free: 4.73 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.576/1.576, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001274/0.001274, allocations: 70.2 kB / 0.6709 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1641, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001755/0.1659, allocations: 0.9021 MB / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 9.528e-05/0.166, allocations: 47.72 kB / 0.7837 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.1661, allocations: 8 kB / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.801e-05/0.1661, allocations: 7.922 kB / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.138e-05/0.1662, allocations: 3.938 kB / 0.7837 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.029e-05/0.1663, allocations: 19.98 kB / 0.7838 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.848e-05/0.1663, allocations: 63.78 kB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1665, allocations: 41.38 kB / 0.7839 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.1665, allocations: 23.86 kB / 0.7839 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.489e-05/0.1666, allocations: 31.8 kB / 0.7839 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1666, allocations: 4 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.1666, allocations: 4 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.1666, allocations: 23.86 kB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.1667, allocations: 27.8 kB / 0.784 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.519e-05/0.1668, allocations: 87.91 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1668, allocations: 0 / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.01e-07/0.1668, allocations: 0 / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.1668, allocations: 0 / 0.7841 GB, free: 12.59 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.0003442/0.1671, allocations: 383.2 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1672, allocations: 8.031 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.1672, allocations: 42.73 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.1672, allocations: 16.69 kB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.1674, allocations: 200.1 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.1674, allocations: 8.375 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1674, allocations: 8.375 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1676, allocations: 88.89 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1676, allocations: 11.92 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1676, allocations: 4 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.1676, allocations: 0 / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.1677, allocations: 39.92 kB / 0.7848 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.1681, allocations: 453.6 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/0.1682, allocations: 37.25 kB / 0.7853 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.1682, allocations: 21.72 kB / 0.7853 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.1682, allocations: 4 kB / 0.7853 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.1683, allocations: 34.55 kB / 0.7854 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1683, allocations: 0 / 0.7854 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000149/0.1684, allocations: 61.48 kB / 0.7854 GB, free: 11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.1685, allocations: 77.11 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1686, allocations: 171.5 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.1686, allocations: 29.7 kB / 0.7857 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.1687, allocations: 112 kB / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.1687, allocations: 7.891 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1687, allocations: 17.72 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.1688, allocations: 322.8 kB / 0.7861 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.1688, allocations: 12 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.1689, allocations: 17.66 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/0.1689, allocations: 29.72 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1689, allocations: 0 / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.123e-05/0.169, allocations: 65.53 kB / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.169, allocations: 10.59 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.169, allocations: 4 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.169, allocations: 0 / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/0.1691, allocations: 4 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1691, allocations: 64 / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/0.1691, allocations: 11.91 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1692, allocations: 0 / 0.7863 GB, free: 10.05 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 6.643e-05/0.1692, allocations: 128.5 kB / 0.7864 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.1693, allocations: 11.84 kB / 0.7864 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.1693, allocations: 12.56 kB / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1693, allocations: 0 / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1693, allocations: 4 kB / 0.7864 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1693, allocations: 0 / 0.7864 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.1697, allocations: 482.8 kB / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1697, allocations: 0 / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.1697, allocations: 0 / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1697, allocations: 7.938 kB / 0.7869 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1697, allocations: 0 / 0.7869 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1697, allocations: 0 / 0.7869 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1697, allocations: 0 / 0.7869 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.752e-05/0.1698, allocations: 89.89 kB / 0.787 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.1699, allocations: 96.91 kB / 0.7871 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1699, allocations: 0 / 0.7871 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.324e-05/0.1699, allocations: 0 / 0.7871 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-06/0.1699, allocations: 0 / 0.7871 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1699, allocations: 7.938 kB / 0.7871 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.687e-05/0.17, allocations: 120 kB / 0.7872 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.17, allocations: 4.031 kB / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001769/0.1702, allocations: 12 kB / 0.7872 GB, free: 8.988 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.0002786/0.1705, allocations: 0.617 MB / 0.7878 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.133e-05/0.1706, allocations: 23.97 kB / 0.7878 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.1706, allocations: 0 / 0.7878 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.34e-05/0.1706, allocations: 7.984 kB / 0.7878 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.1707, allocations: 8 kB / 0.7878 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1718, allocations: 1.396 MB / 0.7892 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.172, allocations: 0.6965 MB / 0.7899 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.511e-05/0.172, allocations: 16.61 kB / 0.7899 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.1721, allocations: 19.44 kB / 0.7899 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.1721, allocations: 4 kB / 0.7899 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.121/1.293, allocations: 1.526 MB / 0.7914 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/1.293, allocations: 206.2 kB / 0.7916 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.591, allocations: 0 / 0.7916 GB, free: 4.371 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)