Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.347/1.347, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 174.7 kB / 325.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007132/0.0007131, allocations: 94.86 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003307, allocations: 10.44 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2065, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.000943/0.2075, allocations: 0.592 MB / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001259/0.2076, allocations: 55.7 kB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.2077, allocations: 0 / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.2077, allocations: 3.938 kB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.2079, allocations: 11.91 kB / 0.8969 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.239e-05/0.2079, allocations: 16 kB / 0.8969 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.239e-05/0.208, allocations: 67.78 kB / 0.8969 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.2081, allocations: 45.59 kB / 0.897 GB, free: 67.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.198e-05/0.2082, allocations: 15.88 kB / 0.897 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.2082, allocations: 23.8 kB / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.2083, allocations: 0 / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.2083, allocations: 4 kB / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.2083, allocations: 11.92 kB / 0.897 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.2083, allocations: 35.75 kB / 0.8971 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.428e-05/0.2084, allocations: 63.73 kB / 0.8971 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2084, allocations: 7.875 kB / 0.8971 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2085, allocations: 4 kB / 0.8971 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2085, allocations: 0 / 0.8971 GB, free: 67.1 MB / 0.6042 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.000327/0.2088, allocations: 371.3 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2088, allocations: 8.031 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.2089, allocations: 38.75 kB / 0.8975 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.2089, allocations: 12.75 kB / 0.8975 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.2091, allocations: 196.2 kB / 0.8977 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2091, allocations: 8.375 kB / 0.8977 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.2091, allocations: 8.375 kB / 0.8977 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.2093, allocations: 95.67 kB / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.587e-05/0.2093, allocations: 3.938 kB / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2093, allocations: 4 kB / 0.8978 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2094, allocations: 3.938 kB / 0.8979 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.867e-05/0.2094, allocations: 43.92 kB / 0.8979 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.2099, allocations: 452.6 kB / 0.8983 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.151e-05/0.2099, allocations: 37.25 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.21, allocations: 25.77 kB / 0.8984 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.21, allocations: 0 / 0.8984 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.21, allocations: 30.56 kB / 0.8984 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.21, allocations: 0 / 0.8984 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001628/0.2102, allocations: 61.48 kB / 0.8985 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.2102, allocations: 77.11 kB / 0.8985 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.2103, allocations: 178.4 kB / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.2104, allocations: 25.7 kB / 0.8987 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.2104, allocations: 111.9 kB / 0.8988 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.2104, allocations: 3.906 kB / 0.8989 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.2104, allocations: 13.72 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.2105, allocations: 326.8 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.2105, allocations: 4 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.2105, allocations: 21.7 kB / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/0.2106, allocations: 37.66 kB / 0.8992 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2106, allocations: 0 / 0.8992 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.903e-05/0.2107, allocations: 61.53 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2107, allocations: 7.938 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2107, allocations: 3.938 kB / 0.8993 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2107, allocations: 0 / 0.8993 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.2108, allocations: 12 kB / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2108, allocations: 8.047 kB / 0.8993 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.2109, allocations: 11.92 kB / 0.8993 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.2109, allocations: 0 / 0.8993 GB, free: 64.57 MB / 0.6042 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 5.397e-05/0.2109, allocations: 113.8 kB / 0.8994 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.211, allocations: 15.75 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.211, allocations: 12.56 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.211, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.211, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.211, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.2113, allocations: 482.8 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2113, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.2113, allocations: 4 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2114, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.2114, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2114, allocations: 4 kB / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2114, allocations: 3.938 kB / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.658e-05/0.2114, allocations: 89.83 kB / 0.9 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.2115, allocations: 89 kB / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.2115, allocations: 0 / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.2115, allocations: 4 kB / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.2116, allocations: 0 / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.2116, allocations: 4 kB / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.295e-05/0.2116, allocations: 128.9 kB / 0.9002 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2116, allocations: 0 / 0.9002 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001787/0.2118, allocations: 8 kB / 0.9003 GB, free: 63.52 MB / 0.6042 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.0002549/0.2121, allocations: 0.6208 MB / 0.9009 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.374e-05/0.2122, allocations: 28.02 kB / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2122, allocations: 0 / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.2122, allocations: 7.938 kB / 0.9009 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.2123, allocations: 8 kB / 0.9009 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009619/0.2133, allocations: 1.396 MB / 0.9023 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.2134, allocations: 0.6965 MB / 0.9029 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.2135, allocations: 12.42 kB / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.2135, allocations: 19.44 kB / 0.903 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.2135, allocations: 0 / 0.903 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.2252, allocations: 1.462 MB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.2254, allocations: 227.1 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.695, allocations: 0 / 0.9046 GB, free: 59.01 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)