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.484/1.484, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.0008987/0.0008987, allocations: 168.9 kB / 361.4 MB, free: 6.836 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.587/1.587, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0008721/0.0008722, allocations: 98.88 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.338e-05, allocations: 8 kB / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7771/0.7771, allocations: 115.3 MB / 0.9645 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.976, allocations: 136.8 MB / 1.098 GB, free: 3.027 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.9763, allocations: 67.7 kB / 1.098 GB, free: 2.965 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002686/0.979, allocations: 1.157 MB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.303e-06/0.979, allocations: 0 / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.979, allocations: 0.5 kB / 1.099 GB, free: 1.832 MB / 0.698 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.0003648/0.9794, allocations: 371.7 kB / 1.1 GB, free: 1.426 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.9794, allocations: 8.031 kB / 1.1 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.9795, allocations: 17.34 kB / 1.1 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.9796, allocations: 177.9 kB / 1.1 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.9797, allocations: 4 kB / 1.1 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.9797, allocations: 7.984 kB / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.439e-05/0.9798, allocations: 32 kB / 1.1 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.9799, allocations: 86.12 kB / 1.1 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.98, allocations: 0 / 1.1 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.98, allocations: 0.8438 kB / 1.1 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.98, allocations: 4 kB / 1.1 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.9805, allocations: 417.8 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.426e-05/0.9806, allocations: 45.23 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.9807, allocations: 14.94 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.9807, allocations: 0.5312 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.9807, allocations: 37.47 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.9807, allocations: 0 / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001698/0.9809, allocations: 45.62 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.981, allocations: 81.7 kB / 1.101 GB, free: 344 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.9811, allocations: 130.9 kB / 1.101 GB, free: 208 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.9811, allocations: 26.23 kB / 1.101 GB, free: 176 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.9812, allocations: 108.6 kB / 1.101 GB, free: 64 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.587e-06/0.9812, allocations: 7.906 kB / 1.101 GB, free: 56 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.9812, allocations: 4.062 kB / 1.101 GB, free: 56 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.9814, allocations: 319.6 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.9814, allocations: 8 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-05/0.9815, allocations: 20.11 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/0.9815, allocations: 8.875 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.9815, allocations: 0 / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.637e-05/0.9816, allocations: 63.44 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.9816, allocations: 7.953 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9817, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9817, allocations: 4 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.9818, allocations: 5.125 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.9818, allocations: 3.391 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.9818, allocations: 3.938 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.9818, allocations: 7.906 kB / 1.101 GB, free: 15.61 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 8.312e-05/0.9819, allocations: 101.7 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.043e-05/0.982, allocations: 53.53 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.982, allocations: 11.86 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.9821, allocations: 11.97 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.9821, allocations: 0 / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.9821, allocations: 0 / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.9821, allocations: 0 / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.9825, allocations: 451.1 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.9825, allocations: 7.75 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.9825, allocations: 4 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.9825, allocations: 4 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.9826, allocations: 3.984 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9826, allocations: 0 / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.9826, allocations: 0 / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.9827, allocations: 95.52 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.9828, allocations: 89 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.9828, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.008e-05/0.9828, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.9828, allocations: 4 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.9829, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.396e-05/0.9829, allocations: 107.3 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9829, allocations: 0 / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001866/0.9831, allocations: 9.406 kB / 1.102 GB, free: 14.57 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.0004358/0.9836, allocations: 0.699 MB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.313e-05/0.9837, allocations: 16 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9837, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.9837, allocations: 8.156 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.9838, allocations: 8.219 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.9842, allocations: 144.9 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.9845, allocations: 0.7009 MB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.9845, allocations: 4.312 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.9845, allocations: 27.42 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9845, allocations: 0 / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1598/1.144, allocations: 0.9847 MB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/1.145, allocations: 156.2 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.419/2.564, allocations: 2.031 kB / 1.105 GB, free: 11.75 MB / 0.7136 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)