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.607/1.607, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001118/0.001118, allocations: 186 kB / 371.8 MB, free: 10.27 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.493/1.493, allocations: 205.4 MB / 0.6305 GB, free: 9.918 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.0008469/0.000847, allocations: 102.8 kB / 0.7439 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003934, allocations: 11.66 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2283, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.0009099/0.2293, allocations: 0.5329 MB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000103/0.2294, allocations: 55.72 kB / 0.98 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.2295, allocations: 0 / 0.98 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.2295, allocations: 3.938 kB / 0.98 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.572e-05/0.2296, allocations: 11.97 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.687e-05/0.2296, allocations: 15.98 kB / 0.9801 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.304e-05/0.2297, allocations: 43.84 kB / 0.9801 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2299, allocations: 41.5 kB / 0.9802 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.813e-05/0.2299, allocations: 19.84 kB / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.23, allocations: 19.86 kB / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.23, allocations: 4 kB / 0.9802 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-06/0.23, allocations: 0 / 0.9802 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.2301, allocations: 11.94 kB / 0.9802 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.2301, allocations: 37.64 kB / 0.9802 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.2302, allocations: 60.08 kB / 0.9803 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2302, allocations: 0 / 0.9803 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.818e-06/0.2302, allocations: 4 kB / 0.9803 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.2302, allocations: 0 / 0.9803 GB, free: 26.71 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.0004826/0.2307, allocations: 379 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.2308, allocations: 12.02 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.2308, allocations: 38.56 kB / 0.9807 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.2309, allocations: 7.906 kB / 0.9807 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.2311, allocations: 198.8 kB / 0.9809 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.2311, allocations: 8 kB / 0.9809 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.2312, allocations: 8 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.2314, allocations: 87.39 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2314, allocations: 0 / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2314, allocations: 11.92 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.2314, allocations: 4 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.591e-05/0.2315, allocations: 35.98 kB / 0.9811 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.2321, allocations: 448.5 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.69e-05/0.2321, allocations: 45.23 kB / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.2322, allocations: 0 / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2322, allocations: 34.69 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2322, allocations: 4 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002013/0.2324, allocations: 57.55 kB / 0.9816 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.2325, allocations: 77.11 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2326, allocations: 173.9 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.2326, allocations: 25.7 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.2327, allocations: 111.9 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/0.2327, allocations: 7.938 kB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.2327, allocations: 4.25 kB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.2328, allocations: 326.8 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.2328, allocations: 4 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.2328, allocations: 17.72 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.2329, allocations: 15.94 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2329, allocations: 0 / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.364e-05/0.233, allocations: 69.39 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.233, allocations: 13.78 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.233, allocations: 0 / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.233, allocations: 0 / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.2331, allocations: 4 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2331, allocations: 4 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.2332, allocations: 0 / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.2332, allocations: 4 kB / 0.9824 GB, free: 24.27 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 6.941e-05/0.2332, allocations: 113.8 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.2333, allocations: 15.86 kB / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.2333, allocations: 12.56 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2333, allocations: 4 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2333, allocations: 0 / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2334, allocations: 0 / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.2337, allocations: 486.6 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2337, allocations: 0 / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.2337, allocations: 4 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2337, allocations: 4.062 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2337, allocations: 0 / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2337, allocations: 3.938 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2337, allocations: 0 / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.275e-05/0.2338, allocations: 95.56 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.2339, allocations: 93 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.2339, allocations: 4.031 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.429e-05/0.2339, allocations: 0 / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.2339, allocations: 4.094 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.2339, allocations: 3.984 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.366e-05/0.234, allocations: 128.9 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.31e-07/0.234, allocations: 0 / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001792/0.2342, allocations: 11.94 kB / 0.9834 GB, free: 23.19 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.0003059/0.2345, allocations: 0.703 MB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.2346, allocations: 19.94 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2346, allocations: 0 / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.2346, allocations: 16.14 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.2347, allocations: 9.203 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007302/0.2355, allocations: 0.7323 MB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.2356, allocations: 0.7004 MB / 0.9855 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.2357, allocations: 12.38 kB / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.2357, allocations: 27.42 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2357, allocations: 0 / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.2468, allocations: 1.595 MB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/0.247, allocations: 200.9 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.851, allocations: 0 / 0.9873 GB, free: 19.18 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)