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_bar.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_bar,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.479/1.479, allocations: 288.4 MB / 303.6 MB, free: 8.23 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.0009644/0.0009645, allocations: 188.5 kB / 372.3 MB, free: 10.11 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.223/1.223, allocations: 205.4 MB / 0.631 GB, free: 9.848 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.0006914/0.0006913, allocations: 94.3 kB / 0.7444 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 13.28 kB / 0.8676 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1596, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.0008492/0.1605, allocations: 0.5329 MB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000123/0.1607, allocations: 47.77 kB / 0.9808 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.1607, allocations: 0 / 0.9808 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.1608, allocations: 11.94 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.069e-05/0.1609, allocations: 3.938 kB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.706e-05/0.1609, allocations: 15.98 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.215e-05/0.161, allocations: 63.78 kB / 0.9808 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1611, allocations: 41.38 kB / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.496e-05/0.1612, allocations: 19.86 kB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.1613, allocations: 23.8 kB / 0.9809 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1613, allocations: 0 / 0.9809 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.1613, allocations: 7.938 kB / 0.9809 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.1613, allocations: 7.938 kB / 0.9809 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.1614, allocations: 57.5 kB / 0.981 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.3e-05/0.1615, allocations: 60.08 kB / 0.9811 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1615, allocations: 0 / 0.9811 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1615, allocations: 0 / 0.9811 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.1615, allocations: 4 kB / 0.9811 GB, free: 26.33 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.0003271/0.1618, allocations: 375.2 kB / 0.9814 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1619, allocations: 8.031 kB / 0.9814 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.1619, allocations: 42.73 kB / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.1619, allocations: 12.84 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1621, allocations: 192.2 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1621, allocations: 12.28 kB / 0.9817 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1621, allocations: 4.375 kB / 0.9817 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1623, allocations: 113.5 kB / 0.9818 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1623, allocations: 3.938 kB / 0.9818 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1623, allocations: 4 kB / 0.9818 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1623, allocations: 0 / 0.9818 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.825e-05/0.1624, allocations: 35.98 kB / 0.9818 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.1628, allocations: 452.5 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.843e-05/0.1629, allocations: 41.2 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.1629, allocations: 17.78 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.1629, allocations: 0 / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.163, allocations: 38.59 kB / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.163, allocations: 0 / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001621/0.1631, allocations: 65.47 kB / 0.9824 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.1632, allocations: 77.11 kB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1633, allocations: 165.9 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/0.1633, allocations: 25.7 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.1634, allocations: 108.2 kB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.563e-06/0.1634, allocations: 11.91 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.1634, allocations: 0 / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.1634, allocations: 318.8 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.1634, allocations: 8 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.1635, allocations: 25.7 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.1635, allocations: 29.59 kB / 0.9831 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1635, allocations: 4 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.376e-05/0.1636, allocations: 57.61 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1636, allocations: 11.92 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1636, allocations: 0 / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1637, allocations: 4 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.1637, allocations: 4 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1637, allocations: 3.938 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.1638, allocations: 7.906 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.1638, allocations: 0 / 0.9832 GB, free: 23.83 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.042e-05/0.1638, allocations: 125.8 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.1639, allocations: 11.84 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.1639, allocations: 16.55 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1639, allocations: 0 / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1639, allocations: 0 / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1639, allocations: 4 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.1642, allocations: 478.8 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1642, allocations: 3.984 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.1642, allocations: 4 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1643, allocations: 3.938 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1643, allocations: 4 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1643, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1643, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.479e-05/0.1643, allocations: 90.59 kB / 0.9839 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.1644, allocations: 89 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.1644, allocations: 4 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.392e-05/0.1644, allocations: 4 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.1644, allocations: 0 / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.1645, allocations: 0 / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.1645, allocations: 136.9 kB / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1645, allocations: 0 / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001683/0.1647, allocations: 8 kB / 0.9842 GB, free: 22.75 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.0002282/0.1649, allocations: 0.6236 MB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.735e-05/0.165, allocations: 16 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.165, allocations: 0 / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/0.165, allocations: 12.16 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1652, allocations: 15.88 kB / 0.9848 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.1659, allocations: 0.5876 MB / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.288e-05/0.166, allocations: 0.6926 MB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.943e-05/0.166, allocations: 16.42 kB / 0.9861 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.166, allocations: 23.42 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.166, allocations: 4 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01013/0.1762, allocations: 1.582 MB / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.1764, allocations: 211.9 kB / 0.9879 GB, free: 19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.397/1.573, allocations: 3.281 kB / 0.9879 GB, free: 19 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)