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.701/1.701, allocations: 292.5 MB / 307.5 MB, free: 5.211 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.001098/0.001098, allocations: 177 kB / 377.1 MB, free: 1.527 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.883/1.883, allocations: 205.4 MB / 0.6366 GB, free: 9.555 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.001044/0.001044, allocations: 87.2 kB / 0.7509 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004845, allocations: 8 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3526, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7163/1.069, allocations: 138.6 MB / 1.124 GB, free: 35.97 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.069, allocations: 62.89 kB / 1.124 GB, free: 35.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002474/1.072, allocations: 1.156 MB / 1.125 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.294e-06/1.072, allocations: 0 / 1.125 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.072, allocations: 4.531 kB / 1.125 GB, free: 35.05 MB / 0.7292 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.0003119/1.072, allocations: 389.9 kB / 1.125 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.072, allocations: 12.02 kB / 1.125 GB, free: 34.63 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/1.072, allocations: 43.62 kB / 1.125 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/1.072, allocations: 9.969 kB / 1.125 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/1.072, allocations: 190.4 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/1.072, allocations: 10.88 kB / 1.126 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/1.072, allocations: 8 kB / 1.126 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/1.072, allocations: 86.45 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.073, allocations: 0.6562 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/1.073, allocations: 5.719 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.073, allocations: 4 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.102e-05/1.073, allocations: 43.98 kB / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/1.073, allocations: 458.3 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.455e-05/1.073, allocations: 42.03 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/1.073, allocations: 5.016 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/1.073, allocations: 34.56 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.073, allocations: 0 / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/1.073, allocations: 57.02 kB / 1.126 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/1.073, allocations: 77.11 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/1.074, allocations: 159.6 kB / 1.126 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/1.074, allocations: 25.7 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/1.074, allocations: 107.8 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-06/1.074, allocations: 11.84 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/1.074, allocations: 0 / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.51e-05/1.074, allocations: 320.9 kB / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/1.074, allocations: 11.94 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/1.074, allocations: 25.28 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.328e-05/1.074, allocations: 12.84 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.074, allocations: 0 / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.472e-05/1.074, allocations: 61.56 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.074, allocations: 11.45 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.074, allocations: 4 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.074, allocations: 0 / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/1.074, allocations: 4.562 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.074, allocations: 0 / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/1.074, allocations: 11.97 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/1.074, allocations: 0.5625 kB / 1.127 GB, free: 32.72 MB / 0.7292 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.296e-05/1.074, allocations: 113.8 kB / 1.127 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/1.074, allocations: 12.92 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/1.074, allocations: 16.17 kB / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/1.074, allocations: 0 / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.074, allocations: 4 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.074, allocations: 1.219 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/1.075, allocations: 492.9 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.075, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/1.075, allocations: 4 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.075, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/1.075, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.075, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.075, allocations: 1.438 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.368e-05/1.075, allocations: 106.8 kB / 1.128 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/1.075, allocations: 85.58 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/1.075, allocations: 4.078 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/1.075, allocations: 0 / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/1.075, allocations: 0 / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/1.075, allocations: 4 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.395e-05/1.075, allocations: 129.4 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.075, allocations: 0 / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001779/1.075, allocations: 19.94 kB / 1.128 GB, free: 31.68 MB / 0.7292 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.0002917/1.075, allocations: 0.7021 MB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.31e-05/1.075, allocations: 12 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.075, allocations: 0 / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/1.075, allocations: 16.16 kB / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/1.076, allocations: 0 / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/1.076, allocations: 0.7633 MB / 1.129 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/1.077, allocations: 0.6991 MB / 1.13 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.203e-05/1.077, allocations: 7.812 kB / 1.13 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/1.077, allocations: 22.95 kB / 1.13 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/1.077, allocations: 0 / 1.13 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/1.089, allocations: 1.582 MB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001304/1.089, allocations: 181.5 kB / 1.132 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.618, allocations: 3.094 kB / 1.132 GB, free: 28.32 MB / 0.7292 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)