Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.305/1.305, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008901/0.0008898, allocations: 170.4 kB / 325.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006484/0.0006487, allocations: 94.8 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.000322, allocations: 14.16 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1615, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.0008018/0.1623, allocations: 0.6037 MB / 0.8968 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 8.875e-05/0.1624, allocations: 47.72 kB / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.1625, allocations: 0 / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.1625, allocations: 7.922 kB / 0.8968 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.858e-05/0.1626, allocations: 7.938 kB / 0.8969 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.405e-05/0.1627, allocations: 19.98 kB / 0.8969 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.164e-05/0.1627, allocations: 63.84 kB / 0.8969 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1629, allocations: 37.61 kB / 0.897 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.1629, allocations: 15.81 kB / 0.897 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.163, allocations: 35.78 kB / 0.897 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.163, allocations: 0 / 0.897 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-06/0.163, allocations: 4 kB / 0.897 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.163, allocations: 11.92 kB / 0.897 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.163, allocations: 27.75 kB / 0.8971 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.795e-05/0.1631, allocations: 67.73 kB / 0.8971 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1631, allocations: 0 / 0.8971 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1631, allocations: 0 / 0.8971 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.1631, allocations: 7.875 kB / 0.8971 GB, free: 67.15 MB / 0.6042 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.0002693/0.1634, allocations: 375.3 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1634, allocations: 8.031 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.1635, allocations: 42.73 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.143e-05/0.1635, allocations: 12.75 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1636, allocations: 196.1 kB / 0.8977 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.1637, allocations: 8.375 kB / 0.8977 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.1637, allocations: 4.375 kB / 0.8977 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1638, allocations: 96.69 kB / 0.8978 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1638, allocations: 7.938 kB / 0.8978 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1638, allocations: 8 kB / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1638, allocations: 0 / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.866e-05/0.1639, allocations: 35.98 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.1643, allocations: 448.5 kB / 0.8983 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.806e-05/0.1643, allocations: 37.22 kB / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.1643, allocations: 17.78 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.1643, allocations: 0 / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.063e-05/0.1644, allocations: 34.59 kB / 0.8984 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1644, allocations: 0 / 0.8984 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001337/0.1645, allocations: 69.47 kB / 0.8985 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.1645, allocations: 77.11 kB / 0.8985 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.521e-05/0.1646, allocations: 166.2 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-06/0.1646, allocations: 25.7 kB / 0.8987 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.1647, allocations: 115.9 kB / 0.8988 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.882e-06/0.1647, allocations: 3.906 kB / 0.8988 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.1647, allocations: 13.72 kB / 0.8989 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.1648, allocations: 327.1 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.1648, allocations: 8 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.716e-05/0.1648, allocations: 21.7 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.1648, allocations: 33.66 kB / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1648, allocations: 0 / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.3e-05/0.1649, allocations: 53.61 kB / 0.8993 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.1649, allocations: 15.98 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1649, allocations: 4 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.165, allocations: 0 / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.165, allocations: 15.88 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.165, allocations: 0 / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.1651, allocations: 7.938 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1651, allocations: 4 kB / 0.8993 GB, free: 64.63 MB / 0.6042 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 4.362e-05/0.1651, allocations: 113.8 kB / 0.8994 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.1652, allocations: 19.69 kB / 0.8994 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.1652, allocations: 24.62 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1652, allocations: 0 / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1652, allocations: 0 / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.1652, allocations: 0 / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.1654, allocations: 478.8 kB / 0.8999 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1655, allocations: 3.984 kB / 0.8999 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-05/0.1655, allocations: 4 kB / 0.8999 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1655, allocations: 0 / 0.8999 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.1655, allocations: 4.062 kB / 0.8999 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1655, allocations: 0 / 0.8999 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1655, allocations: 4 kB / 0.8999 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.314e-05/0.1656, allocations: 81.78 kB / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.1656, allocations: 89 kB / 0.9001 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1656, allocations: 0 / 0.9001 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/0.1656, allocations: 4.031 kB / 0.9001 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.1657, allocations: 4 kB / 0.9001 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.1657, allocations: 0 / 0.9001 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.584e-05/0.1657, allocations: 132.9 kB / 0.9002 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1657, allocations: 0 / 0.9002 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001646/0.1659, allocations: 8 kB / 0.9002 GB, free: 63.57 MB / 0.6042 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.0001977/0.1661, allocations: 0.6248 MB / 0.9009 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.955e-05/0.1662, allocations: 16 kB / 0.9009 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1662, allocations: 0 / 0.9009 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.1662, allocations: 11.94 kB / 0.9009 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1663, allocations: 8 kB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/0.1671, allocations: 1.392 MB / 0.9023 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.731e-05/0.1672, allocations: 0.7004 MB / 0.9029 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.1672, allocations: 4.438 kB / 0.9029 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1672, allocations: 27.42 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of SimCode: time 7.61e-07/0.1673, allocations: 0 / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/0.2689, allocations: 1.481 MB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/0.2691, allocations: 221.5 kB / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.812, allocations: 0 / 0.9046 GB, free: 59.07 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)