Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_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.786/1.786, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.00102/0.00102, allocations: 181.8 kB / 371.6 MB, free: 3.375 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.657/1.657, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.00115/0.00115, allocations: 94.33 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.848e-05/4.85e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2925, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.984/1.277, allocations: 138.5 MB / 1.115 GB, free: 45.04 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/1.277, allocations: 65.69 kB / 1.115 GB, free: 45.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002716/1.28, allocations: 1.152 MB / 1.116 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.855e-06/1.28, allocations: 0 / 1.116 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.616e-05/1.28, allocations: 0 / 1.116 GB, free: 44.29 MB / 0.7448 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.0004169/1.28, allocations: 374 kB / 1.117 GB, free: 43.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/1.28, allocations: 8.875 kB / 1.117 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.411e-05/1.28, allocations: 38.19 kB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/1.28, allocations: 21.72 kB / 1.117 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/1.28, allocations: 181.7 kB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/1.281, allocations: 7.812 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/1.281, allocations: 7.562 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/1.281, allocations: 97.42 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/1.281, allocations: 3.047 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/1.281, allocations: 0 / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/1.281, allocations: 0 / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.062e-05/1.281, allocations: 39.25 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007257/1.282, allocations: 464.6 kB / 1.117 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.525e-05/1.282, allocations: 33.22 kB / 1.118 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/1.282, allocations: 25.5 kB / 1.118 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/1.282, allocations: 0.5156 kB / 1.118 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/1.282, allocations: 30.56 kB / 1.118 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 3.286e-06/1.282, allocations: 0 / 1.118 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002174/1.282, allocations: 59.94 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/1.282, allocations: 81.11 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/1.282, allocations: 155.2 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/1.282, allocations: 29.08 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/1.282, allocations: 111.2 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/1.282, allocations: 7.844 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/1.282, allocations: 0.9375 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.283, allocations: 322 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/1.283, allocations: 7.875 kB / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.992e-05/1.283, allocations: 18.75 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/1.283, allocations: 12 kB / 1.118 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.283, allocations: 0 / 1.118 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001061/1.283, allocations: 68.64 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.283, allocations: 4 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.283, allocations: 0 / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/1.283, allocations: 4 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/1.283, allocations: 5.688 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.283, allocations: 3.422 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/1.283, allocations: 19.72 kB / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/1.283, allocations: 0 / 1.118 GB, free: 42.1 MB / 0.7448 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 7.752e-05/1.283, allocations: 101 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/1.283, allocations: 15.86 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/1.283, allocations: 8.312 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/1.283, allocations: 8.625 kB / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.283, allocations: 3.422 kB / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.283, allocations: 0 / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/1.284, allocations: 475.3 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/1.284, allocations: 3.938 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/1.284, allocations: 9.438 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/1.284, allocations: 0 / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/1.284, allocations: 6.969 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.284, allocations: 0 / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.284, allocations: 0 / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/1.284, allocations: 91.45 kB / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/1.284, allocations: 96.97 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/1.284, allocations: 0.75 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.367e-05/1.284, allocations: 0 / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/1.284, allocations: 7.375 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/1.284, allocations: 3.938 kB / 1.119 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.346e-05/1.284, allocations: 126 kB / 1.119 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.284, allocations: 0 / 1.119 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001852/1.284, allocations: 11.88 kB / 1.119 GB, free: 41.13 MB / 0.7448 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.0003192/1.285, allocations: 0.6993 MB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.01e-05/1.285, allocations: 19.75 kB / 1.12 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.285, allocations: 0 / 1.12 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/1.285, allocations: 7.875 kB / 1.12 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/1.285, allocations: 7.938 kB / 1.12 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/1.285, allocations: 143.3 kB / 1.12 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/1.285, allocations: 0.7019 MB / 1.121 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.23e-05/1.286, allocations: 12.64 kB / 1.121 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/1.286, allocations: 26.16 kB / 1.121 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.286, allocations: 0.75 kB / 1.121 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/1.299, allocations: 1.554 MB / 1.122 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/1.3, allocations: 177.3 kB / 1.123 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/2.745, allocations: 0 / 1.123 GB, free: 38.43 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)