Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.844/1.844, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001178/0.001178, allocations: 180.8 kB / 361.4 MB, free: 6.805 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.531/1.531, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0007172/0.0007173, allocations: 88.97 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.899e-05, allocations: 8 kB / 0.8518 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4955, allocations: 115.3 MB / 0.9645 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.6385, allocations: 136.8 MB / 1.098 GB, free: 2.867 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.6387, allocations: 61.86 kB / 1.098 GB, free: 2.809 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002601/0.6413, allocations: 1.151 MB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6413, allocations: 0.625 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6413, allocations: 1.25 kB / 1.099 GB, free: 1.68 MB / 0.698 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.0002864/0.6416, allocations: 371 kB / 1.1 GB, free: 1.273 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.6417, allocations: 8.031 kB / 1.1 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.6417, allocations: 16.92 kB / 1.1 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.6418, allocations: 178.9 kB / 1.1 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.6419, allocations: 4.688 kB / 1.1 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.6419, allocations: 4 kB / 1.1 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.02e-05/0.642, allocations: 32.66 kB / 1.1 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.6421, allocations: 84.52 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.6421, allocations: 0.7188 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.6421, allocations: 0.5312 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6421, allocations: 0 / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.6426, allocations: 425.2 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.89e-05/0.6426, allocations: 42.42 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.6427, allocations: 22.72 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.6427, allocations: 4.031 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.6427, allocations: 35.97 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6427, allocations: 0 / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001193/0.6428, allocations: 39.36 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.6429, allocations: 77.11 kB / 1.101 GB, free: 196 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/0.643, allocations: 134.9 kB / 1.101 GB, free: 56 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.643, allocations: 25.7 kB / 1.101 GB, free: 24 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.6431, allocations: 116 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.6431, allocations: 6.438 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.6431, allocations: 0 / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.6432, allocations: 318.8 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.6432, allocations: 8 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.6433, allocations: 21.7 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.204e-05/0.6433, allocations: 9.281 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6433, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.694e-05/0.6434, allocations: 55.33 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.6434, allocations: 11.95 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.6434, allocations: 0 / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.6434, allocations: 3.984 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.731e-05/0.6435, allocations: 15.2 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.6435, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.6435, allocations: 3.938 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.6435, allocations: 0 / 1.101 GB, free: 15.45 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 5.119e-05/0.6436, allocations: 105 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.85e-05/0.6437, allocations: 49.55 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.6437, allocations: 15.84 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.6437, allocations: 8.969 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.6437, allocations: 2.906 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.6438, allocations: 4 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.6438, allocations: 1.844 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.6441, allocations: 447.6 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6441, allocations: 7.031 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.6441, allocations: 4 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6442, allocations: 0 / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.6442, allocations: 0 / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6442, allocations: 4 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6442, allocations: 0 / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.408e-05/0.6443, allocations: 95.56 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.6443, allocations: 81.02 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.6443, allocations: 7.984 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.6443, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.6444, allocations: 7.938 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.6444, allocations: 0 / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.669e-05/0.6444, allocations: 105.1 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6444, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001672/0.6446, allocations: 8 kB / 1.102 GB, free: 14.42 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.0003107/0.6449, allocations: 0.6952 MB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.683e-05/0.645, allocations: 19.92 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.645, allocations: 8.156 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.645, allocations: 4 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.338e-05/0.6451, allocations: 4.219 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.6454, allocations: 141 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.6456, allocations: 0.7009 MB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.6457, allocations: 8.312 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.6457, allocations: 27.42 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.6457, allocations: 0 / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7663/1.412, allocations: 0.9802 MB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/1.412, allocations: 161.3 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/3.128, allocations: 1.25 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)