Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_bar,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001028/0.001029, allocations: 182.3 kB / 326.5 MB, free: 2.227 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.652/1.652, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.000833/0.0008331, allocations: 90.52 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 11.56 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2639, allocations: 106.4 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.4492, allocations: 131.4 MB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.4496, allocations: 71.95 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003107/0.4527, allocations: 1.157 MB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4527, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.4528, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 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.0005442/0.4533, allocations: 383.1 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.236e-05/0.4534, allocations: 15.97 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.4535, allocations: 34.56 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.4535, allocations: 23.8 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.4537, allocations: 176.3 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.4537, allocations: 8 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.4538, allocations: 4 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.454, allocations: 95.38 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.454, allocations: 0 / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.454, allocations: 8 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.454, allocations: 0 / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.4541, allocations: 43.92 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.4548, allocations: 460.5 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.19e-05/0.4549, allocations: 41.28 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.4549, allocations: 0 / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.455, allocations: 38.69 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.455, allocations: 0 / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001961/0.4552, allocations: 53.53 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.4552, allocations: 85.36 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.4554, allocations: 165.2 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.4554, allocations: 25.7 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.4555, allocations: 100 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.4555, allocations: 11.83 kB / 1.031 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.4555, allocations: 0 / 1.031 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4557, allocations: 319.5 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.4557, allocations: 11.98 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.4557, allocations: 25.66 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.4557, allocations: 12 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4558, allocations: 3.953 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.619e-05/0.4559, allocations: 65.53 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4559, allocations: 4 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4559, allocations: 0 / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4559, allocations: 0 / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.456, allocations: 8 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.456, allocations: 4.062 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.4561, allocations: 7.906 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.4561, allocations: 3.938 kB / 1.032 GB, free: 8.535 MB / 0.6823 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 7.872e-05/0.4562, allocations: 113.8 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.4562, allocations: 11.86 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.4563, allocations: 16.55 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4563, allocations: 0 / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4563, allocations: 0 / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4563, allocations: 0 / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.4567, allocations: 486.8 kB / 1.032 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4567, allocations: 0 / 1.032 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.4567, allocations: 4.094 kB / 1.032 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.4567, allocations: 3.984 kB / 1.032 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.4568, allocations: 4 kB / 1.032 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4568, allocations: 3.938 kB / 1.032 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4568, allocations: 0 / 1.032 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.697e-05/0.4569, allocations: 95.62 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.4569, allocations: 89 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.457, allocations: 4 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.457, allocations: 0 / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.457, allocations: 0 / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.457, allocations: 4.031 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.937e-05/0.4571, allocations: 128.9 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4571, allocations: 0 / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001904/0.4573, allocations: 15.84 kB / 1.033 GB, free: 7.457 MB / 0.6823 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.0004422/0.4578, allocations: 0.7047 MB / 1.033 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.4579, allocations: 19.94 kB / 1.033 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4579, allocations: 0 / 1.033 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/0.4579, allocations: 7.984 kB / 1.033 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.4581, allocations: 8 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009747/0.459, allocations: 0.7592 MB / 1.034 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.4593, allocations: 0.7082 MB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.4594, allocations: 4.438 kB / 1.035 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.4594, allocations: 23.42 kB / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of SimCode: time 4.61e-07/0.4594, allocations: 0 / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.4721, allocations: 1.586 MB / 1.037 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.4723, allocations: 202.2 kB / 1.037 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.092, allocations: 0 / 1.037 GB, free: 3.445 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)