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.759/1.759, allocations: 285.4 MB / 298 MB, free: 5.938 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.001137/0.001137, allocations: 176.9 kB / 366.4 MB, free: 2.066 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.85/1.85, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.001025/0.001025, allocations: 98.81 kB / 0.738 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.635e-05/4.639e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9079/0.9079, allocations: 115.3 MB / 0.971 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2149/1.123, allocations: 137.5 MB / 1.105 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/1.123, allocations: 67.95 kB / 1.105 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003009/1.126, allocations: 1.158 MB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.124e-06/1.126, allocations: 3.562 kB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.221e-05/1.126, allocations: 4 kB / 1.106 GB, free: 13.05 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.0004301/1.127, allocations: 367.3 kB / 1.107 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/1.127, allocations: 12.03 kB / 1.107 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/1.127, allocations: 34.56 kB / 1.107 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/1.127, allocations: 11.81 kB / 1.107 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/1.127, allocations: 182.5 kB / 1.107 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/1.127, allocations: 8.656 kB / 1.107 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/1.127, allocations: 7.938 kB / 1.107 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/1.127, allocations: 94.62 kB / 1.107 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.127, allocations: 0 / 1.107 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/1.127, allocations: 4 kB / 1.107 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/1.127, allocations: 5.375 kB / 1.107 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.652e-05/1.128, allocations: 39.94 kB / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/1.128, allocations: 465.5 kB / 1.108 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.859e-05/1.128, allocations: 43.06 kB / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/1.128, allocations: 17.84 kB / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/1.128, allocations: 0 / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/1.128, allocations: 38.03 kB / 1.108 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/1.128, allocations: 0 / 1.108 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001619/1.129, allocations: 53.45 kB / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/1.129, allocations: 81.09 kB / 1.108 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/1.129, allocations: 152.6 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/1.129, allocations: 26.33 kB / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/1.129, allocations: 108.8 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-06/1.129, allocations: 3.906 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/1.129, allocations: 4.531 kB / 1.108 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.129, allocations: 319.7 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/1.129, allocations: 8 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/1.129, allocations: 22.59 kB / 1.108 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.356e-05/1.129, allocations: 9.906 kB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.129, allocations: 0 / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.285e-05/1.129, allocations: 65.55 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.129, allocations: 8.562 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.129, allocations: 1.75 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/1.129, allocations: 0 / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/1.129, allocations: 7.938 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.129, allocations: 7.281 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.784e-05/1.129, allocations: 10.66 kB / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/1.129, allocations: 3.984 kB / 1.109 GB, free: 10.65 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.194e-05/1.129, allocations: 109 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/1.13, allocations: 15.64 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/1.13, allocations: 12.56 kB / 1.109 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.13, allocations: 0 / 1.109 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.13, allocations: 0 / 1.109 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.13, allocations: 3.25 kB / 1.109 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/1.13, allocations: 478.8 kB / 1.109 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.13, allocations: 0 / 1.109 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/1.13, allocations: 4 kB / 1.109 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.13, allocations: 0 / 1.109 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/1.13, allocations: 4.719 kB / 1.109 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.13, allocations: 0 / 1.109 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.13, allocations: 8.172 kB / 1.109 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.471e-05/1.13, allocations: 91.52 kB / 1.109 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/1.13, allocations: 96.91 kB / 1.109 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/1.13, allocations: 4 kB / 1.109 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.33e-05/1.13, allocations: 1.969 kB / 1.109 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/1.13, allocations: 4.031 kB / 1.109 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/1.13, allocations: 0 / 1.109 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001214/1.13, allocations: 132.9 kB / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.13, allocations: 0 / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001689/1.131, allocations: 8 kB / 1.11 GB, free: 9.59 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.0003963/1.131, allocations: 0.7006 MB / 1.11 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.041e-05/1.131, allocations: 16 kB / 1.11 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.131, allocations: 0 / 1.11 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.702e-05/1.131, allocations: 11.94 kB / 1.11 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/1.131, allocations: 8 kB / 1.11 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/1.132, allocations: 150.5 kB / 1.11 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/1.132, allocations: 0.7004 MB / 1.111 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.33e-05/1.132, allocations: 8.422 kB / 1.111 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/1.132, allocations: 19.44 kB / 1.111 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/1.132, allocations: 0 / 1.111 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/1.144, allocations: 1.574 MB / 1.113 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/1.144, allocations: 179.7 kB / 1.113 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.671, allocations: 0 / 1.113 GB, free: 6.281 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)