Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.To_BtuPerHour,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.47/1.47, allocations: 287.4 MB / 302.5 MB, free: 8.262 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.0009458/0.0009459, allocations: 176.3 kB / 371.1 MB, free: 10.82 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.211/1.211, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0006493/0.0006493, allocations: 98.89 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003237, allocations: 16.59 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1637, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.0007627/0.1645, allocations: 0.5405 MB / 0.9793 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 9.716e-05/0.1647, allocations: 47.78 kB / 0.9793 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.1647, allocations: 4 kB / 0.9793 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.1647, allocations: 3.938 kB / 0.9793 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.957e-05/0.1648, allocations: 7.922 kB / 0.9793 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.645e-05/0.1649, allocations: 19.92 kB / 0.9793 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.864e-05/0.1649, allocations: 59.84 kB / 0.9794 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1651, allocations: 37.39 kB / 0.9794 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.1651, allocations: 19.81 kB / 0.9795 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.984e-05/0.1652, allocations: 23.8 kB / 0.9795 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1652, allocations: 0 / 0.9795 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-06/0.1652, allocations: 4 kB / 0.9795 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.1652, allocations: 11.92 kB / 0.9795 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.1652, allocations: 37.64 kB / 0.9795 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.884e-05/0.1653, allocations: 64.08 kB / 0.9796 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1653, allocations: 7.938 kB / 0.9796 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1653, allocations: 0 / 0.9796 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.1653, allocations: 0 / 0.9796 GB, free: 27.2 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.0003176/0.1656, allocations: 367.2 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1657, allocations: 12.03 kB / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.1657, allocations: 38.73 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.1658, allocations: 12.84 kB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1659, allocations: 194.5 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.1659, allocations: 8.281 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1659, allocations: 16.31 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1661, allocations: 87.94 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1661, allocations: 7.922 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1661, allocations: 4 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1661, allocations: 4 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.218e-05/0.1662, allocations: 39.92 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.1666, allocations: 448.6 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.631e-05/0.1666, allocations: 41.19 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.1666, allocations: 13.84 kB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1666, allocations: 4 kB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.115e-05/0.1667, allocations: 34.56 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1667, allocations: 0 / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.1668, allocations: 61.47 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.1668, allocations: 81.11 kB / 0.981 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.448e-05/0.1669, allocations: 161 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.167, allocations: 29.95 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.167, allocations: 112 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.167, allocations: 3.906 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.167, allocations: 4 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.1671, allocations: 326.8 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.1671, allocations: 4 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.1671, allocations: 25.64 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.551e-05/0.1672, allocations: 29.72 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1672, allocations: 4 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.589e-05/0.1672, allocations: 53.55 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1673, allocations: 15.92 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1673, allocations: 0 / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1673, allocations: 0 / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.1673, allocations: 4 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1673, allocations: 4 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.1674, allocations: 7.906 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.1674, allocations: 8 kB / 0.9818 GB, free: 24.71 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 4.395e-05/0.1674, allocations: 121.8 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.1675, allocations: 15.84 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.1675, allocations: 12.55 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1675, allocations: 4 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1675, allocations: 4 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1675, allocations: 0 / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.1678, allocations: 478.8 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1678, allocations: 3.984 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.1678, allocations: 4 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1678, allocations: 0 / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-06/0.1678, allocations: 0 / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1678, allocations: 3.938 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1678, allocations: 0 / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.858e-05/0.1679, allocations: 89.81 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.1679, allocations: 89 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.168, allocations: 0 / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.168, allocations: 0 / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.168, allocations: 0 / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.168, allocations: 4 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.786e-05/0.1681, allocations: 132.2 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1681, allocations: 0 / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001683/0.1683, allocations: 12.03 kB / 0.9827 GB, free: 23.65 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.0001886/0.1684, allocations: 0.617 MB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.033e-05/0.1685, allocations: 27.97 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1685, allocations: 0 / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.1685, allocations: 8 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.1687, allocations: 10.19 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.0005931/0.1693, allocations: 0.5857 MB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.188e-05/0.1694, allocations: 0.6965 MB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.861e-05/0.1694, allocations: 12.52 kB / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.1694, allocations: 23.42 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1694, allocations: 0 / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3598/0.5293, allocations: 1.585 MB / 0.9862 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.5295, allocations: 204.4 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.34, allocations: 0 / 0.9864 GB, free: 19.91 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)