Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001462/0.001462, allocations: 177 kB / 377.1 MB, free: 1.547 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.669/1.669, allocations: 205.4 MB / 0.6366 GB, free: 9.57 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.0009734/0.0009732, allocations: 89.31 kB / 0.7509 GB, free: 62.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 12 kB / 0.8749 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3101, allocations: 116.3 MB / 0.9884 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7973/1.107, allocations: 138.5 MB / 1.124 GB, free: 36.03 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.108, allocations: 63.95 kB / 1.124 GB, free: 35.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002397/1.11, allocations: 1.149 MB / 1.125 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/1.11, allocations: 4 kB / 1.125 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.013e-06/1.11, allocations: 1.219 kB / 1.125 GB, free: 35.12 MB / 0.7292 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.0003231/1.111, allocations: 390 kB / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/1.111, allocations: 12.02 kB / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/1.111, allocations: 41.98 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/1.111, allocations: 11.14 kB / 1.125 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/1.111, allocations: 186.8 kB / 1.126 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/1.111, allocations: 9.766 kB / 1.126 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/1.111, allocations: 4 kB / 1.126 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/1.111, allocations: 93.73 kB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.111, allocations: 1.531 kB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.111, allocations: 6.422 kB / 1.126 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.111, allocations: 4 kB / 1.126 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.375e-05/1.111, allocations: 42.97 kB / 1.126 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/1.112, allocations: 452.1 kB / 1.126 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.94e-05/1.112, allocations: 45.86 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/1.112, allocations: 0 / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/1.112, allocations: 38.17 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/1.112, allocations: 0 / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001814/1.112, allocations: 57.61 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/1.112, allocations: 77.11 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/1.112, allocations: 155.5 kB / 1.126 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/1.112, allocations: 26.27 kB / 1.127 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/1.112, allocations: 111.5 kB / 1.127 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/1.112, allocations: 15.27 kB / 1.127 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/1.112, allocations: 0 / 1.127 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.317e-05/1.112, allocations: 328.8 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/1.112, allocations: 8 kB / 1.127 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/1.112, allocations: 19.12 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/1.112, allocations: 8 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.112, allocations: 0 / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.645e-05/1.112, allocations: 72.97 kB / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/1.112, allocations: 8 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/1.112, allocations: 0 / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.112, allocations: 1.062 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/1.113, allocations: 4 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.113, allocations: 8.172 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.222e-05/1.113, allocations: 3.906 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/1.113, allocations: 0.5 kB / 1.127 GB, free: 32.79 MB / 0.7292 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 () * Number of clocked 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.068e-05/1.113, allocations: 117.9 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/1.113, allocations: 16.89 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/1.113, allocations: 12.03 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.113, allocations: 5.031 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.113, allocations: 0 / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.113, allocations: 0.625 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/1.113, allocations: 479.6 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.113, allocations: 4.062 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/1.113, allocations: 7.328 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/1.113, allocations: 0.625 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/1.113, allocations: 4 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.113, allocations: 0 / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.113, allocations: 0.75 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.554e-05/1.113, allocations: 102.8 kB / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/1.113, allocations: 90.14 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/1.113, allocations: 0 / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.478e-05/1.113, allocations: 3.422 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/1.113, allocations: 4.516 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/1.113, allocations: 0 / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.742e-05/1.113, allocations: 128.4 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.113, allocations: 0.5625 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001758/1.114, allocations: 11.94 kB / 1.128 GB, free: 31.75 MB / 0.7292 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 () * Number of clocked 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.0002407/1.114, allocations: 0.6987 MB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.779e-05/1.114, allocations: 23.47 kB / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.114, allocations: 4.719 kB / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/1.114, allocations: 8.156 kB / 1.129 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/1.114, allocations: 8 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007269/1.115, allocations: 0.743 MB / 1.129 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/1.115, allocations: 0.7017 MB / 1.13 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.958e-05/1.115, allocations: 7.859 kB / 1.13 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/1.115, allocations: 24 kB / 1.13 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/1.115, allocations: 0 / 1.13 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/1.129, allocations: 1.583 MB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/1.129, allocations: 199.4 kB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.649, allocations: 0 / 1.132 GB, free: 28.39 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)