Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",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.488/1.488, allocations: 287.4 MB / 302.6 MB, free: 8.324 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.0009954/0.0009954, allocations: 187.1 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.196/1.196, allocations: 205.4 MB / 0.6298 GB, free: 10.51 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.0006685/0.0006685, allocations: 96.17 kB / 0.7431 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003435, allocations: 16.11 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1643, allocations: 115.3 MB / 0.9787 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.0007728/0.1651, allocations: 0.5365 MB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000103/0.1652, allocations: 51.77 kB / 0.9793 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.1653, allocations: 0 / 0.9793 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.1653, allocations: 3.938 kB / 0.9793 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-05/0.1654, allocations: 3.938 kB / 0.9793 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-05/0.1655, allocations: 15.98 kB / 0.9793 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.024e-05/0.1655, allocations: 63.78 kB / 0.9794 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1657, allocations: 45.38 kB / 0.9794 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.1657, allocations: 19.86 kB / 0.9795 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.1658, allocations: 23.8 kB / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1658, allocations: 4 kB / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-06/0.1658, allocations: 0 / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.1658, allocations: 11.94 kB / 0.9795 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.1658, allocations: 41.58 kB / 0.9795 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.472e-05/0.1659, allocations: 64.08 kB / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1659, allocations: 0 / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1659, allocations: 0 / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1659, allocations: 0 / 0.9796 GB, free: 27.16 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.0002946/0.1662, allocations: 375.2 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1663, allocations: 12.03 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.863e-05/0.1663, allocations: 38.75 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.1663, allocations: 8.844 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1665, allocations: 196.2 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1665, allocations: 12.28 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1665, allocations: 8.312 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1667, allocations: 91.95 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1667, allocations: 3.938 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1667, allocations: 4 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1667, allocations: 0 / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.228e-05/0.1668, allocations: 43.92 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.1671, allocations: 444.6 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.1672, allocations: 41.25 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.1672, allocations: 25.77 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.1672, allocations: 0 / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.1673, allocations: 30.56 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.1673, allocations: 0 / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000158/0.1674, allocations: 57.48 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.1675, allocations: 81.11 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.1676, allocations: 169.2 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.1676, allocations: 33.64 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.1676, allocations: 112 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-06/0.1676, allocations: 3.906 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.1676, allocations: 0 / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.078e-05/0.1677, allocations: 322.8 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.1677, allocations: 4 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.1677, allocations: 25.66 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.354e-05/0.1678, allocations: 25.72 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1678, allocations: 0 / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.098e-05/0.1679, allocations: 69.47 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1679, allocations: 7.938 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1679, allocations: 0 / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1679, allocations: 4 kB / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.168, allocations: 4.094 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.168, allocations: 0 / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.168, allocations: 11.97 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.168, allocations: 3.984 kB / 0.9818 GB, free: 24.67 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.725e-05/0.1681, allocations: 127.1 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.1681, allocations: 11.84 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.1681, allocations: 12.56 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1681, allocations: 0 / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1682, allocations: 0 / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1682, allocations: 4 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.1684, allocations: 482.8 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1684, allocations: 0 / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.1685, allocations: 4 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1685, allocations: 0 / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.1685, allocations: 4 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1685, allocations: 3.938 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1685, allocations: 0 / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.856e-05/0.1686, allocations: 89.8 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.1686, allocations: 89 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1686, allocations: 4 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.1686, allocations: 4 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.1687, allocations: 0 / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.1687, allocations: 0 / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.903e-05/0.1687, allocations: 132.2 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1687, allocations: 4.031 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001664/0.1689, allocations: 8 kB / 0.9827 GB, free: 23.6 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.0002121/0.1691, allocations: 0.617 MB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.384e-05/0.1692, allocations: 23.91 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1692, allocations: 4 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.1692, allocations: 11.98 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.1694, allocations: 5.719 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.17, allocations: 0.5915 MB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.405e-05/0.1701, allocations: 0.7004 MB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.931e-05/0.1702, allocations: 4.438 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.1702, allocations: 27.42 kB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1702, allocations: 0 / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/0.3008, allocations: 1.584 MB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/0.301, allocations: 197.7 kB / 0.9864 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.959, allocations: 1.406 kB / 0.9864 GB, free: 19.83 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)