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.439/1.439, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009339/0.0009339, allocations: 191.3 kB / 316.3 MB, free: 3.215 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.464/1.464, allocations: 205.3 MB / 0.5671 GB, free: 15.78 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.0008435/0.0008436, allocations: 89.86 kB / 0.6714 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.875e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2071, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7227/0.9298, allocations: 131.6 MB / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.9301, allocations: 66.78 kB / 1.014 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002677/0.9328, allocations: 1.159 MB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9328, allocations: 0 / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.9328, allocations: 8 kB / 1.015 GB, free: 4.707 MB / 0.6355 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.0003611/0.9332, allocations: 361.8 kB / 1.015 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9333, allocations: 8.031 kB / 1.015 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.9333, allocations: 11.91 kB / 1.015 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.9335, allocations: 189 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.9335, allocations: 4 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.9335, allocations: 4 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.146e-05/0.9336, allocations: 30.69 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.9337, allocations: 85.91 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.9338, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.9338, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.9338, allocations: 7.984 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.9343, allocations: 415.8 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.718e-05/0.9344, allocations: 40.31 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.9344, allocations: 13.84 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.9344, allocations: 4 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.9345, allocations: 40.67 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.9345, allocations: 0 / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001503/0.9346, allocations: 45.53 kB / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.9347, allocations: 84.11 kB / 1.016 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.9348, allocations: 120.5 kB / 1.016 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.9348, allocations: 26.52 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.9349, allocations: 117.8 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.9349, allocations: 7.906 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.9349, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.935, allocations: 321 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.935, allocations: 6.5 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.15e-05/0.935, allocations: 16.28 kB / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.9351, allocations: 14.56 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9351, allocations: 3.938 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.745e-05/0.9352, allocations: 63.05 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.9352, allocations: 4 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9352, allocations: 0 / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.9352, allocations: 4 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.9353, allocations: 4.094 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.9353, allocations: 0 / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.9353, allocations: 11.88 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.9353, allocations: 7.234 kB / 1.017 GB, free: 2.562 MB / 0.6355 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.188e-05/0.9354, allocations: 105 kB / 1.017 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.598e-05/0.9355, allocations: 56.86 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.9355, allocations: 4 kB / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.9356, allocations: 12.14 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.9356, allocations: 0 / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.9356, allocations: 3.938 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.9356, allocations: 0 / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.9359, allocations: 459.4 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.9359, allocations: 4 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.936, allocations: 3.984 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.936, allocations: 4 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.936, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.936, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.936, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.023e-05/0.9361, allocations: 88.86 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.9362, allocations: 91.81 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.9362, allocations: 0 / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.086e-05/0.9362, allocations: 0 / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.9362, allocations: 4 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.9362, allocations: 0 / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.976e-05/0.9363, allocations: 109.4 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9363, allocations: 0 / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001737/0.9365, allocations: 11.91 kB / 1.018 GB, free: 1.555 MB / 0.6355 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.0003372/0.9368, allocations: 0.6925 MB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.55e-05/0.9369, allocations: 18.94 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9369, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.128e-05/0.9369, allocations: 7.312 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.937, allocations: 11.39 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.9374, allocations: 137.8 kB / 1.019 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.9376, allocations: 0.7043 MB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.562e-05/0.9377, allocations: 192 / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.9377, allocations: 32.05 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9377, allocations: 3.938 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.9543, allocations: 0.9736 MB / 1.02 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.9546, allocations: 163.1 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.355/2.309, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.6511 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)