Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008588/0.0008585, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005014/0.005014, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 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 / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004608, allocations: 14.31 kB / 0.6744 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1712, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.0008587/0.1721, allocations: 0.5633 MB / 0.7886 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001065/0.1722, allocations: 47.77 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.1723, allocations: 0 / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.1723, allocations: 3.938 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.1724, allocations: 15.84 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.711e-05/0.1724, allocations: 16 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.1725, allocations: 63.84 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1726, allocations: 33.39 kB / 0.7887 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.092e-05/0.1727, allocations: 27.8 kB / 0.7888 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.1728, allocations: 27.8 kB / 0.7888 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1728, allocations: 4 kB / 0.7888 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.1728, allocations: 4 kB / 0.7888 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1728, allocations: 3.938 kB / 0.7888 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.1729, allocations: 61.44 kB / 0.7889 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.198e-05/0.173, allocations: 75.89 kB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.173, allocations: 0 / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.173, allocations: 0 / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.173, allocations: 0 / 0.7889 GB, free: 10.54 MB / 0.6075 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.000333/0.1733, allocations: 375.2 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1734, allocations: 12.03 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.1734, allocations: 42.75 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.1734, allocations: 8.844 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1736, allocations: 196.1 kB / 0.7895 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.1736, allocations: 8.281 kB / 0.7895 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.1736, allocations: 8.375 kB / 0.7895 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1738, allocations: 94.7 kB / 0.7896 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1738, allocations: 3.938 kB / 0.7896 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1738, allocations: 8 kB / 0.7896 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1738, allocations: 0 / 0.7896 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.289e-05/0.1739, allocations: 39.92 kB / 0.7897 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.1744, allocations: 452.5 kB / 0.7901 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.762e-05/0.1744, allocations: 50.22 kB / 0.7902 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.1745, allocations: 17.77 kB / 0.7902 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.1745, allocations: 0 / 0.7902 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1745, allocations: 38.59 kB / 0.7902 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1745, allocations: 0 / 0.7902 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001537/0.1747, allocations: 61.7 kB / 0.7903 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1747, allocations: 77.11 kB / 0.7904 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1749, allocations: 175.3 kB / 0.7905 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1749, allocations: 25.7 kB / 0.7905 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.1749, allocations: 108 kB / 0.7906 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.424e-06/0.175, allocations: 7.906 kB / 0.7907 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.175, allocations: 9.719 kB / 0.7907 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.1751, allocations: 322.8 kB / 0.791 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.1751, allocations: 12.03 kB / 0.791 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.1751, allocations: 13.72 kB / 0.791 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/0.1752, allocations: 33.66 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1752, allocations: 0 / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.064e-05/0.1753, allocations: 57.59 kB / 0.7911 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1753, allocations: 11.94 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1753, allocations: 4.156 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.1753, allocations: 3.984 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.1754, allocations: 11.94 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.1754, allocations: 0 / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.1754, allocations: 7.891 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1754, allocations: 4 kB / 0.7911 GB, free: 8.008 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.538e-05/0.1755, allocations: 117.8 kB / 0.7912 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.1755, allocations: 11.84 kB / 0.7912 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.1756, allocations: 12.56 kB / 0.7913 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1756, allocations: 4 kB / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1756, allocations: 0 / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1756, allocations: 0 / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.1759, allocations: 478.8 kB / 0.7917 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1759, allocations: 0 / 0.7917 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.176, allocations: 4 kB / 0.7917 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.176, allocations: 0 / 0.7917 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.176, allocations: 7.938 kB / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.176, allocations: 4.062 kB / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.176, allocations: 4 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.066e-05/0.1761, allocations: 89.67 kB / 0.7918 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.1761, allocations: 96.94 kB / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1762, allocations: 0 / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.1762, allocations: 0 / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.1762, allocations: 8.031 kB / 0.7919 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.1762, allocations: 0 / 0.7919 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.021e-05/0.1763, allocations: 124 kB / 0.792 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1763, allocations: 0 / 0.792 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001767/0.1765, allocations: 12 kB / 0.7921 GB, free: 6.941 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002897/0.1768, allocations: 0.6209 MB / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.978e-05/0.1769, allocations: 16 kB / 0.7927 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1769, allocations: 0 / 0.7927 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.395e-05/0.1769, allocations: 11.92 kB / 0.7927 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.177, allocations: 8 kB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1781, allocations: 1.388 MB / 0.794 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.1783, allocations: 0.7004 MB / 0.7947 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.1783, allocations: 8.422 kB / 0.7947 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.1784, allocations: 23.44 kB / 0.7948 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1784, allocations: 3.938 kB / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4909/0.6693, allocations: 1.461 MB / 0.7962 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.6695, allocations: 210.7 kB / 0.7964 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.186, allocations: 0 / 0.7964 GB, free: 2.422 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)