Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.From_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",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.697/1.697, allocations: 289.9 MB / 297.4 MB, free: 6.305 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.001052/0.001052, allocations: 176.8 kB / 366.7 MB, free: 1.652 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.787/1.787, 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.000894/0.000894, allocations: 92.84 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.774e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7514/0.7514, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.9396, allocations: 137.8 MB / 1.108 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.9398, allocations: 72.53 kB / 1.108 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002738/0.9426, allocations: 1.146 MB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9426, allocations: 0.6562 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.9426, allocations: 0 / 1.109 GB, free: 11.18 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.0003436/0.943, allocations: 375.6 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.943, allocations: 8.625 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.9431, allocations: 11.81 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.9433, allocations: 184.1 kB / 1.11 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.9433, allocations: 4 kB / 1.11 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.9433, allocations: 4.5 kB / 1.11 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.398e-05/0.9434, allocations: 36.53 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.9435, allocations: 85.73 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.9436, allocations: 1.125 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.9436, allocations: 0.5938 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.9436, allocations: 4.812 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.9441, allocations: 418 kB / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.804e-05/0.9442, allocations: 37.11 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.9443, allocations: 19.25 kB / 1.11 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.9443, allocations: 3.938 kB / 1.11 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.9443, allocations: 33.22 kB / 1.11 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.9443, allocations: 0 / 1.11 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001638/0.9445, allocations: 45.61 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.9445, allocations: 77.11 kB / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.9447, allocations: 133.7 kB / 1.111 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.9447, allocations: 32.52 kB / 1.111 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.9448, allocations: 112 kB / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.9448, allocations: 3.906 kB / 1.111 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.9448, allocations: 0 / 1.111 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.945, allocations: 318.8 kB / 1.111 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.945, allocations: 5.781 kB / 1.111 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/0.945, allocations: 17.72 kB / 1.111 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.9451, allocations: 12.86 kB / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.9451, allocations: 0 / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.805e-05/0.9452, allocations: 58.42 kB / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.9452, allocations: 8.766 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9452, allocations: 0 / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.9452, allocations: 0.7188 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.9453, allocations: 11.98 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.9453, allocations: 0.875 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.9453, allocations: 7.219 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.9454, allocations: 9.375 kB / 1.111 GB, free: 8.949 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 7.089e-05/0.9454, allocations: 103 kB / 1.111 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001135/0.9456, allocations: 46.3 kB / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.9456, allocations: 11.86 kB / 1.111 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.9457, allocations: 14.08 kB / 1.111 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.9457, allocations: 7.984 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.9457, allocations: 2.625 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9457, allocations: 0 / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.9461, allocations: 459.5 kB / 1.112 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9461, allocations: 0 / 1.112 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.9461, allocations: 4 kB / 1.112 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.9461, allocations: 0 / 1.112 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.9462, allocations: 0 / 1.112 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.9462, allocations: 4 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9462, allocations: 1.5 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.759e-05/0.9463, allocations: 91.62 kB / 1.112 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.9463, allocations: 85.02 kB / 1.112 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.9464, allocations: 7.984 kB / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.9464, allocations: 0 / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.9464, allocations: 3.938 kB / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.9464, allocations: 4 kB / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.205e-05/0.9465, allocations: 102 kB / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9465, allocations: 0 / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001797/0.9467, allocations: 8 kB / 1.112 GB, free: 7.91 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.0004441/0.9471, allocations: 0.6954 MB / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.804e-05/0.9472, allocations: 19.94 kB / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9472, allocations: 0 / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.457e-05/0.9473, allocations: 11.98 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.9474, allocations: 3.875 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.9478, allocations: 146.5 kB / 1.113 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.9481, allocations: 0.7051 MB / 1.114 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.9481, allocations: 4.188 kB / 1.114 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.9481, allocations: 25.72 kB / 1.114 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.9482, allocations: 0 / 1.114 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.9667, allocations: 0.9749 MB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.9669, allocations: 146.4 kB / 1.115 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/2.439, allocations: 4 kB / 1.115 GB, free: 5.074 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)