Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.484/1.484, allocations: 287.4 MB / 302.6 MB, free: 8.141 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.001068/0.001068, allocations: 182.5 kB / 371.1 MB, free: 10.81 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.23/1.23, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0007142/0.0007138, allocations: 102.7 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003232, allocations: 12.25 kB / 0.8662 GB, free: 139.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1644, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0007434/0.1652, allocations: 0.5327 MB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 9.86e-05/0.1653, allocations: 43.78 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.1654, allocations: 4 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.1654, allocations: 7.938 kB / 0.9793 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.384e-05/0.1655, allocations: 7.922 kB / 0.9793 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.8e-05/0.1656, allocations: 15.98 kB / 0.9793 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.398e-05/0.1657, allocations: 63.78 kB / 0.9794 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1658, allocations: 41.36 kB / 0.9794 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.1658, allocations: 19.88 kB / 0.9795 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.1659, allocations: 19.8 kB / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1659, allocations: 4 kB / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-06/0.1659, allocations: 0 / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.1659, allocations: 19.86 kB / 0.9795 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.166, allocations: 33.7 kB / 0.9795 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.053e-05/0.166, allocations: 64.08 kB / 0.9796 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.166, allocations: 0 / 0.9796 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1661, allocations: 0 / 0.9796 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1661, allocations: 4 kB / 0.9796 GB, free: 27.21 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.0003123/0.1664, allocations: 371.1 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1664, allocations: 15.97 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.1665, allocations: 38.73 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.1665, allocations: 12.84 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.1667, allocations: 188.2 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1667, allocations: 8.281 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.1667, allocations: 8.375 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1668, allocations: 101.6 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1668, allocations: 3.938 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1668, allocations: 4 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1669, allocations: 4 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.399e-05/0.1669, allocations: 39.92 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.1673, allocations: 448.6 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.215e-05/0.1674, allocations: 37.16 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.1674, allocations: 17.88 kB / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.1674, allocations: 0 / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.087e-05/0.1674, allocations: 34.56 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1674, allocations: 0 / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001365/0.1676, allocations: 65.47 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.1676, allocations: 77.11 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1677, allocations: 165 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.1677, allocations: 25.7 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.1678, allocations: 112.2 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.1678, allocations: 11.91 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.1678, allocations: 0 / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.915e-05/0.1678, allocations: 322.8 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.1678, allocations: 4 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.1679, allocations: 21.7 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.502e-05/0.1679, allocations: 29.66 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1679, allocations: 7.938 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.881e-05/0.168, allocations: 61.55 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.168, allocations: 7.938 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.168, allocations: 7.984 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.168, allocations: 0 / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.1681, allocations: 4 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1681, allocations: 0 / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.1681, allocations: 7.906 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-06/0.1682, allocations: 0 / 0.9818 GB, free: 24.73 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.034e-05/0.1682, allocations: 127.1 kB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.1683, allocations: 11.84 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.1683, allocations: 16.55 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1683, allocations: 3.938 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1683, allocations: 4 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1683, allocations: 0 / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.1686, allocations: 474.8 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1686, allocations: 4 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.1686, allocations: 3.984 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1686, allocations: 4 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.1686, allocations: 0 / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1686, allocations: 0 / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1686, allocations: 0 / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.847e-05/0.1687, allocations: 93.72 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.1687, allocations: 89 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.1687, allocations: 4.094 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.29e-05/0.1688, allocations: 0 / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.1688, allocations: 7.984 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.1688, allocations: 4 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.1689, allocations: 128.2 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1689, allocations: 0 / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001708/0.169, allocations: 8 kB / 0.9827 GB, free: 23.66 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.0001952/0.1692, allocations: 0.621 MB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.112e-05/0.1693, allocations: 20 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1693, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.17e-05/0.1693, allocations: 12.09 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.1695, allocations: 8 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.1701, allocations: 0.5895 MB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.039e-05/0.1702, allocations: 0.6965 MB / 0.9846 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.1702, allocations: 8.438 kB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.1703, allocations: 23.42 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1703, allocations: 0 / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.1816, allocations: 1.572 MB / 0.9862 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.1818, allocations: 198.5 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.344/1.526, allocations: 7 kB / 0.9864 GB, free: 19.9 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)