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_ton.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_ton,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.344/1.344, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008641/0.0008641, allocations: 168.2 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.4/1.4, allocations: 205 MB / 0.576 GB, free: 21.02 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.0006446/0.0006446, allocations: 98.53 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002846, allocations: 9.219 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1613, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.000849/0.1622, allocations: 0.5998 MB / 0.8968 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 8.898e-05/0.1623, allocations: 47.7 kB / 0.8968 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.1624, allocations: 4 kB / 0.8968 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.1624, allocations: 7.938 kB / 0.8968 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.496e-05/0.1625, allocations: 3.938 kB / 0.8969 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.23e-05/0.1626, allocations: 19.98 kB / 0.8969 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.163e-05/0.1626, allocations: 59.84 kB / 0.8969 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1628, allocations: 45.59 kB / 0.897 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.1628, allocations: 23.8 kB / 0.897 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.321e-05/0.1629, allocations: 23.8 kB / 0.897 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1629, allocations: 0 / 0.897 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.1629, allocations: 4 kB / 0.897 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.1629, allocations: 7.938 kB / 0.897 GB, free: 67.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.163, allocations: 35.73 kB / 0.8971 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.404e-05/0.163, allocations: 63.73 kB / 0.8971 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.163, allocations: 0 / 0.8971 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.163, allocations: 7.938 kB / 0.8971 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.1631, allocations: 0 / 0.8971 GB, free: 67.17 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.0002876/0.1634, allocations: 371.3 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1634, allocations: 8.031 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.679e-05/0.1634, allocations: 42.73 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.318e-05/0.1635, allocations: 12.75 kB / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1636, allocations: 196.2 kB / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1636, allocations: 4.375 kB / 0.8977 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1636, allocations: 12.38 kB / 0.8977 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1638, allocations: 92.69 kB / 0.8978 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1638, allocations: 3.938 kB / 0.8978 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1638, allocations: 8 kB / 0.8978 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1638, allocations: 0 / 0.8978 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.1639, allocations: 35.98 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.1643, allocations: 460.5 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.73e-05/0.1643, allocations: 37.22 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.1643, allocations: 17.72 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.1643, allocations: 0 / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.1644, allocations: 38.59 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1644, allocations: 0 / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001396/0.1645, allocations: 65.47 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.1645, allocations: 77.11 kB / 0.8985 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1647, allocations: 166.2 kB / 0.8987 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-06/0.1647, allocations: 25.7 kB / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.1647, allocations: 120.1 kB / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.933e-06/0.1647, allocations: 7.906 kB / 0.8989 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.1648, allocations: 13.7 kB / 0.8989 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.25e-05/0.1648, allocations: 322.8 kB / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.1648, allocations: 7.984 kB / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.1648, allocations: 17.72 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.1649, allocations: 37.66 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1649, allocations: 0 / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.775e-05/0.165, allocations: 57.59 kB / 0.8993 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.165, allocations: 11.94 kB / 0.8993 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.165, allocations: 0 / 0.8993 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.165, allocations: 3.938 kB / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/0.1651, allocations: 7.938 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1651, allocations: 4 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.795e-05/0.1651, allocations: 3.938 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1651, allocations: 4 kB / 0.8993 GB, free: 64.65 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.73e-05/0.1652, allocations: 117.9 kB / 0.8994 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.1652, allocations: 15.75 kB / 0.8995 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.1653, allocations: 16.55 kB / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1653, allocations: 0 / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1653, allocations: 0 / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1653, allocations: 0 / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.1655, allocations: 482.8 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1656, allocations: 0 / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.1656, allocations: 4 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1656, allocations: 0 / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1656, allocations: 0 / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1656, allocations: 0 / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1656, allocations: 4 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.078e-05/0.1657, allocations: 93.83 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.1657, allocations: 85.02 kB / 0.9001 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1657, allocations: 0 / 0.9001 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.1658, allocations: 4 kB / 0.9001 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.1658, allocations: 7.984 kB / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.1658, allocations: 3.938 kB / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.926e-05/0.1658, allocations: 124.9 kB / 0.9002 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1659, allocations: 0 / 0.9002 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001721/0.166, allocations: 8 kB / 0.9002 GB, free: 63.6 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.0002253/0.1663, allocations: 0.6287 MB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.957e-05/0.1663, allocations: 16 kB / 0.9009 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1663, allocations: 160 / 0.9009 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.1664, allocations: 11.94 kB / 0.9009 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1665, allocations: 9.375 kB / 0.9009 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008367/0.1674, allocations: 1.396 MB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.1675, allocations: 0.6965 MB / 0.9029 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.1675, allocations: 4.438 kB / 0.9029 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.1676, allocations: 27.42 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of SimCode: time 1.233e-06/0.1676, allocations: 4 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.1785, allocations: 1.47 MB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/0.1786, allocations: 227.8 kB / 0.9046 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.783, allocations: 5.5 kB / 0.9046 GB, free: 59.09 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)