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_gal.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_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 249.3 MB / 261.8 MB, free: 5.855 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.001054/0.001053, allocations: 190.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.0009188/0.000919, allocations: 101.4 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.319e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6504/0.8564, allocations: 131.3 MB / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.8566, allocations: 67.12 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002715/0.8593, allocations: 1.16 MB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8594, allocations: 0 / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.912e-06/0.8594, allocations: 0 / 1.021 GB, free: 2.293 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.0003316/0.8597, allocations: 369.4 kB / 1.022 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.8598, allocations: 8.031 kB / 1.022 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.8598, allocations: 42 kB / 1.022 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.8599, allocations: 7.906 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.86, allocations: 182.9 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.86, allocations: 7.625 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.8601, allocations: 11.92 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.8602, allocations: 91.44 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.8602, allocations: 0 / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.8602, allocations: 0 / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.8603, allocations: 8 kB / 1.022 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.948e-05/0.8603, allocations: 38.5 kB / 1.022 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.8609, allocations: 464.2 kB / 1.023 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.861, allocations: 40.31 kB / 1.023 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.861, allocations: 18.16 kB / 1.023 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.861, allocations: 2.734 kB / 1.023 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.8611, allocations: 30.56 kB / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.8611, allocations: 4 kB / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001586/0.8612, allocations: 48.86 kB / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.8613, allocations: 81.11 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.8615, allocations: 157 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.8615, allocations: 25.7 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.8616, allocations: 111 kB / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.698e-06/0.8616, allocations: 7.891 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.8616, allocations: 3.438 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.8617, allocations: 326.4 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.8618, allocations: 7.938 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.54e-05/0.8618, allocations: 17.53 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.8618, allocations: 15.89 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8618, allocations: 0 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.136e-05/0.8619, allocations: 65.03 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.862, allocations: 8.062 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.862, allocations: 0 / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.862, allocations: 4 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.8621, allocations: 4.094 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.8621, allocations: 3.938 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.8621, allocations: 13.94 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.8621, allocations: 3.984 kB / 1.023 GB, free: 8 kB / 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 8.046e-05/0.8622, allocations: 113.9 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.8623, allocations: 12.03 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.8623, allocations: 15.95 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.8623, allocations: 7.938 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.8623, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.8623, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.8627, allocations: 481.1 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8627, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.8628, allocations: 4 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.8628, allocations: 4.062 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.8628, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8628, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8628, allocations: 4 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.305e-05/0.8629, allocations: 94.19 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.863, allocations: 92.56 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.863, allocations: 4.031 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.395e-05/0.863, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.863, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.8631, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.737e-05/0.8631, allocations: 126.6 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8632, allocations: 4 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001834/0.8633, allocations: 19.3 kB / 1.024 GB, free: 14.98 MB / 0.6511 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.0004535/0.8638, allocations: 0.6955 MB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.048e-05/0.8639, allocations: 18.81 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8639, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.528e-05/0.8639, allocations: 4.219 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.864, allocations: 19.77 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.8644, allocations: 139 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.8647, allocations: 0.6965 MB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.8647, allocations: 12.36 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.8648, allocations: 25.94 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.8648, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01106/0.8759, allocations: 1.566 MB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.8761, allocations: 175.4 kB / 1.028 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.401, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)