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_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 249.5 MB / 257 MB, free: 6.918 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.0009224/0.0009223, allocations: 167.5 kB / 316.3 MB, free: 3.238 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.653/1.653, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008787/0.0008788, allocations: 92.14 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.16e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2514, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.806/1.058, allocations: 131.6 MB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/1.058, allocations: 66.47 kB / 1.014 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002626/1.06, allocations: 1.157 MB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.06, allocations: 0 / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.06, allocations: 0 / 1.015 GB, free: 4.668 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.0003285/1.061, allocations: 368.6 kB / 1.015 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/1.061, allocations: 8.031 kB / 1.015 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/1.061, allocations: 11.91 kB / 1.015 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/1.061, allocations: 186.8 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/1.061, allocations: 4 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/1.061, allocations: 4 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.617e-05/1.061, allocations: 33.94 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/1.061, allocations: 81.47 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.061, allocations: 3.938 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/1.061, allocations: 0 / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.061, allocations: 7.984 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/1.062, allocations: 417.9 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.576e-05/1.062, allocations: 43.62 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/1.062, allocations: 16.72 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/1.062, allocations: 2.625 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/1.062, allocations: 34.56 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.062, allocations: 0 / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001585/1.062, allocations: 48.09 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/1.062, allocations: 81.17 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/1.062, allocations: 125.9 kB / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/1.062, allocations: 25.7 kB / 1.016 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/1.063, allocations: 114.5 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-06/1.063, allocations: 3.906 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/1.063, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.063, allocations: 325.2 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/1.063, allocations: 4 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/1.063, allocations: 24.78 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.317e-05/1.063, allocations: 4 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.063, allocations: 4 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.245e-05/1.063, allocations: 64.61 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.063, allocations: 4 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.063, allocations: 0 / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.063, allocations: 0 / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/1.063, allocations: 8 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/1.063, allocations: 8 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/1.063, allocations: 3.938 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/1.063, allocations: 4 kB / 1.017 GB, free: 2.52 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.627e-05/1.063, allocations: 103 kB / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.811e-05/1.063, allocations: 57.08 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/1.063, allocations: 4 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/1.063, allocations: 19.61 kB / 1.017 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/1.063, allocations: 0 / 1.017 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.063, allocations: 4.062 kB / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.063, allocations: 0 / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/1.064, allocations: 454.8 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/1.064, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/1.064, allocations: 7.984 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.064, allocations: 96 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/1.064, allocations: 7.984 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.064, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.064, allocations: 8 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.763e-05/1.064, allocations: 85.36 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/1.064, allocations: 89 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/1.064, allocations: 0 / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/1.064, allocations: 0 / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/1.064, allocations: 6.844 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/1.064, allocations: 4 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.094e-05/1.064, allocations: 99.14 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.064, allocations: 4 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000174/1.064, allocations: 11.91 kB / 1.018 GB, free: 1.508 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.0003646/1.065, allocations: 0.692 MB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.313e-05/1.065, allocations: 23.25 kB / 1.019 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.065, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/1.065, allocations: 4 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/1.065, allocations: 11.08 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/1.065, allocations: 142.5 kB / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/1.065, allocations: 0.7002 MB / 1.019 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.416e-05/1.065, allocations: 4.125 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/1.066, allocations: 25.92 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.066, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/1.084, allocations: 0.9977 MB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/1.084, allocations: 165 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.398/2.482, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)