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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001006/0.001006, allocations: 176.9 kB / 366.7 MB, free: 1.699 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.714/1.714, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009315/0.0009316, allocations: 86.48 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.681e-05/2.682e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7513/0.7514, allocations: 116.3 MB / 0.9733 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2038/0.9553, allocations: 137.8 MB / 1.108 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.9556, allocations: 63.95 kB / 1.108 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003052/0.9587, allocations: 1.158 MB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9587, allocations: 0.5312 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.9587, allocations: 4.656 kB / 1.109 GB, free: 11.09 MB / 0.7136 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.0003454/0.9591, allocations: 373.1 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.9591, allocations: 12.62 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.9592, allocations: 11.81 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.9594, allocations: 181.7 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.9594, allocations: 3.5 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.9594, allocations: 4.812 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.33e-05/0.9595, allocations: 32 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.9597, allocations: 84.7 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.9597, allocations: 0 / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.9597, allocations: 4.594 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.9597, allocations: 0.9062 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.9603, allocations: 424.8 kB / 1.11 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.594e-05/0.9603, allocations: 42.48 kB / 1.11 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.9604, allocations: 13.78 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.9604, allocations: 5.5 kB / 1.11 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.9604, allocations: 35.5 kB / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.9604, allocations: 0 / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001593/0.9606, allocations: 42.08 kB / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.9607, allocations: 81.11 kB / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.9608, allocations: 132.8 kB / 1.111 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.9608, allocations: 25.7 kB / 1.111 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.9609, allocations: 116 kB / 1.111 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.9609, allocations: 7.906 kB / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.9609, allocations: 1.281 kB / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.961, allocations: 310.8 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.9611, allocations: 8.531 kB / 1.111 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.602e-05/0.9611, allocations: 27.11 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.66e-05/0.9611, allocations: 8 kB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.9611, allocations: 0.6562 kB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.997e-05/0.9612, allocations: 54.11 kB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.9612, allocations: 13.23 kB / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.9613, allocations: 0 / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.9613, allocations: 3.984 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.605e-05/0.9613, allocations: 5.375 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.9614, allocations: 4 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.9614, allocations: 3.938 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.9614, allocations: 3.281 kB / 1.111 GB, free: 8.863 MB / 0.7136 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 () * 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.546e-05/0.9615, allocations: 105.1 kB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.792e-05/0.9616, allocations: 53.55 kB / 1.111 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.9616, allocations: 11.84 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.9617, allocations: 11.97 kB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.9617, allocations: 0 / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9617, allocations: 0 / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.9617, allocations: 4 kB / 1.111 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.9621, allocations: 455.4 kB / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9621, allocations: 96 / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.9621, allocations: 7.438 kB / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.9621, allocations: 3.984 kB / 1.112 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.9621, allocations: 1.219 kB / 1.112 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9621, allocations: 0 / 1.112 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9621, allocations: 0 / 1.112 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.9622, allocations: 91.62 kB / 1.112 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.9623, allocations: 89.02 kB / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.9623, allocations: 3.984 kB / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/0.9624, allocations: 4 kB / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.9624, allocations: 3.938 kB / 1.112 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.9624, allocations: 0 / 1.112 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.841e-05/0.9625, allocations: 109.6 kB / 1.112 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9625, allocations: 0 / 1.112 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001797/0.9627, allocations: 8 kB / 1.112 GB, free: 7.812 MB / 0.7136 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 () * 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.0004051/0.9631, allocations: 0.6876 MB / 1.113 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.284e-05/0.9632, allocations: 26.92 kB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9632, allocations: 0 / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.26e-05/0.9632, allocations: 8 kB / 1.113 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.9633, allocations: 4 kB / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.9637, allocations: 138.7 kB / 1.113 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.964, allocations: 0.709 MB / 1.114 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.475e-05/0.964, allocations: 192 / 1.114 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.9641, allocations: 27.42 kB / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9641, allocations: 0 / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.9841, allocations: 0.9786 MB / 1.115 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/0.9844, allocations: 147.8 kB / 1.115 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.589, allocations: 0 / 1.115 GB, free: 4.988 MB / 0.7136 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/linux/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)