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_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.635/1.635, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.0009437/0.0009437, allocations: 180.9 kB / 361.4 MB, free: 6.789 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.646/1.646, allocations: 205.3 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.0009118/0.0009121, allocations: 103.6 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.209e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7648/0.7648, allocations: 115.3 MB / 0.9645 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2096/0.9745, allocations: 136.8 MB / 1.098 GB, free: 2.887 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.9747, allocations: 60.72 kB / 1.098 GB, free: 2.828 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003/0.9777, allocations: 1.153 MB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9778, allocations: 0 / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.9778, allocations: 3.594 kB / 1.099 GB, free: 1.695 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.0003342/0.9781, allocations: 366.3 kB / 1.1 GB, free: 1.293 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.9782, allocations: 8.031 kB / 1.1 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.9782, allocations: 16.83 kB / 1.1 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.9784, allocations: 184 kB / 1.1 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.9784, allocations: 4 kB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.9784, allocations: 4 kB / 1.1 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001469/0.9786, allocations: 33.06 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.9788, allocations: 91.3 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.9788, allocations: 1.875 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.9788, allocations: 0 / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.9789, allocations: 4 kB / 1.1 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.9794, allocations: 411.8 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.057e-05/0.9795, allocations: 42.55 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.9796, allocations: 19.78 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.9796, allocations: 0.625 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.9796, allocations: 35.98 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 3.146e-06/0.9796, allocations: 5.406 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001779/0.9798, allocations: 38.2 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.9798, allocations: 81.77 kB / 1.101 GB, free: 208 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.98, allocations: 134.3 kB / 1.101 GB, free: 68 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.98, allocations: 26.48 kB / 1.101 GB, free: 36 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.803e-05/0.9801, allocations: 108.1 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.9801, allocations: 4.594 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.9801, allocations: 1 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.9802, allocations: 322.8 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.9803, allocations: 8.562 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.9803, allocations: 21.47 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.229e-05/0.9803, allocations: 4.812 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.9803, allocations: 0.6562 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.542e-05/0.9804, allocations: 66.5 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.9805, allocations: 11.78 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.9805, allocations: 0.875 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.9805, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.9806, allocations: 11.25 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.9806, allocations: 0.7812 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.9806, allocations: 8.922 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.9806, allocations: 4 kB / 1.101 GB, free: 15.46 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 6.375e-05/0.9807, allocations: 105 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.695e-05/0.9808, allocations: 49.55 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.9808, allocations: 11.86 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.9809, allocations: 11.95 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.9809, allocations: 4 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9809, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.9809, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.9813, allocations: 449 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.9813, allocations: 1.406 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.9813, allocations: 4 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9813, allocations: 256 / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.9813, allocations: 8 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9813, allocations: 0 / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9813, allocations: 0 / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.987e-05/0.9814, allocations: 95.5 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.9815, allocations: 85.02 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.9815, allocations: 32 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.9815, allocations: 4 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.9816, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.9816, allocations: 11.98 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.853e-05/0.9816, allocations: 97 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9817, allocations: 0 / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001898/0.9819, allocations: 14.81 kB / 1.102 GB, free: 14.44 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.0004208/0.9823, allocations: 0.6952 MB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.221e-05/0.9824, allocations: 19.94 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9824, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.9824, allocations: 4 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.9825, allocations: 8.5 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.9829, allocations: 145 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.9833, allocations: 0.7009 MB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.9833, allocations: 4.172 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.9834, allocations: 23.44 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9834, allocations: 3.938 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3977/1.381, allocations: 0.9904 MB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/1.382, allocations: 161.1 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.936, allocations: 6.125 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)