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_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.507/1.507, allocations: 288.4 MB / 303.6 MB, free: 8.051 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.001027/0.001027, allocations: 180.4 kB / 372.2 MB, free: 10.15 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.236/1.236, allocations: 205.4 MB / 0.631 GB, free: 9.957 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.0007433/0.0007434, allocations: 108.1 kB / 0.7444 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 12.78 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1662, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.0007751/0.167, allocations: 0.529 MB / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001041/0.1672, allocations: 43.78 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.1672, allocations: 0 / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.1672, allocations: 3.938 kB / 0.9808 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.985e-05/0.1673, allocations: 15.86 kB / 0.9808 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.706e-05/0.1674, allocations: 11.98 kB / 0.9808 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.521e-05/0.1675, allocations: 63.84 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1676, allocations: 41.33 kB / 0.9809 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.911e-05/0.1676, allocations: 23.8 kB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/0.1677, allocations: 23.8 kB / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1677, allocations: 0 / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.1677, allocations: 4 kB / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.1677, allocations: 11.94 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.1678, allocations: 53.5 kB / 0.981 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.799e-05/0.1679, allocations: 64.08 kB / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1679, allocations: 0 / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1679, allocations: 0 / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1679, allocations: 0 / 0.981 GB, free: 26.38 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.0003233/0.1682, allocations: 371.2 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1683, allocations: 12.03 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.1683, allocations: 42.73 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.1683, allocations: 12.84 kB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1685, allocations: 192.2 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1685, allocations: 8.281 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.1685, allocations: 12.36 kB / 0.9817 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1687, allocations: 101.5 kB / 0.9818 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1687, allocations: 7.875 kB / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1687, allocations: 0 / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1687, allocations: 4 kB / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.1688, allocations: 35.98 kB / 0.9818 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.1692, allocations: 452.7 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.191e-05/0.1693, allocations: 41.09 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.1693, allocations: 13.84 kB / 0.9823 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.1693, allocations: 4 kB / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.1693, allocations: 38.5 kB / 0.9823 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1693, allocations: 0 / 0.9823 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001678/0.1695, allocations: 57.53 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.1696, allocations: 81.05 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1697, allocations: 169.5 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.1697, allocations: 29.7 kB / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.1697, allocations: 112 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.573e-06/0.1698, allocations: 3.906 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.1698, allocations: 0 / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.1698, allocations: 326.8 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.1698, allocations: 8 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.1698, allocations: 17.7 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/0.1699, allocations: 29.72 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1699, allocations: 3.938 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.229e-05/0.17, allocations: 61.55 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.17, allocations: 11.92 kB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.17, allocations: 4 kB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.17, allocations: 0 / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.1701, allocations: 4 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1701, allocations: 0 / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.1701, allocations: 15.91 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.1701, allocations: 0 / 0.9832 GB, free: 23.88 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.055e-05/0.1702, allocations: 123.3 kB / 0.9833 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.1702, allocations: 11.84 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.1703, allocations: 16.55 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1703, allocations: 0 / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1703, allocations: 4 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1703, allocations: 0 / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.1706, allocations: 474.8 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1706, allocations: 4 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.1706, allocations: 3.984 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1706, allocations: 4 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1706, allocations: 0 / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1706, allocations: 0 / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1706, allocations: 0 / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.291e-05/0.1707, allocations: 94.62 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.1707, allocations: 93 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1708, allocations: 0 / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.376e-05/0.1708, allocations: 0 / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.1708, allocations: 0 / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1708, allocations: 4 kB / 0.984 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.1709, allocations: 129.6 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1709, allocations: 4.031 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001767/0.1711, allocations: 12 kB / 0.9842 GB, free: 22.81 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.0002124/0.1713, allocations: 0.6132 MB / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.482e-05/0.1714, allocations: 27.91 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1714, allocations: 0 / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.1714, allocations: 4 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.1715, allocations: 10.56 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.1722, allocations: 0.5896 MB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.789e-05/0.1723, allocations: 0.7004 MB / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.1723, allocations: 8.422 kB / 0.9861 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.1723, allocations: 31.36 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1723, allocations: 0 / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.1835, allocations: 1.586 MB / 0.9877 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/0.1837, allocations: 216.7 kB / 0.9879 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.367/1.551, allocations: 7.031 kB / 0.9879 GB, free: 19.06 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)