Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.647/1.647, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001021/0.001021, allocations: 180.8 kB / 366.7 MB, free: 1.684 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.673/1.673, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0009441/0.000944, allocations: 89.11 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.298e-05/2.338e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7445/0.7446, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2822/1.027, allocations: 137.8 MB / 1.108 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/1.027, allocations: 67.89 kB / 1.108 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003146/1.03, allocations: 1.152 MB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.263e-06/1.03, allocations: 0.5312 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.286e-06/1.03, allocations: 0.6875 kB / 1.109 GB, free: 11.1 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.0003893/1.031, allocations: 375 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.031, allocations: 8.531 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/1.031, allocations: 12.34 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/1.031, allocations: 184.7 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/1.031, allocations: 8.062 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/1.031, allocations: 4.875 kB / 1.11 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001045/1.031, allocations: 32 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/1.031, allocations: 84.36 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.031, allocations: 0.5312 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.031, allocations: 0 / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/1.031, allocations: 6.469 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/1.032, allocations: 412.7 kB / 1.11 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.117e-05/1.032, allocations: 42.38 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/1.032, allocations: 18.69 kB / 1.11 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/1.032, allocations: 0 / 1.11 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/1.032, allocations: 39.56 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.032, allocations: 4 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002096/1.032, allocations: 37.7 kB / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.032, allocations: 77.11 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/1.033, allocations: 138.5 kB / 1.111 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/1.033, allocations: 25.7 kB / 1.111 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/1.033, allocations: 108.1 kB / 1.111 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/1.033, allocations: 7.891 kB / 1.111 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/1.033, allocations: 0 / 1.111 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.033, allocations: 322.8 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/1.033, allocations: 10.91 kB / 1.111 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/1.033, allocations: 19.16 kB / 1.111 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/1.033, allocations: 8.859 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.033, allocations: 0 / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.936e-05/1.033, allocations: 60.36 kB / 1.111 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.033, allocations: 7.953 kB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/1.033, allocations: 0 / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.033, allocations: 0 / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/1.033, allocations: 15.92 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.033, allocations: 0 / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/1.033, allocations: 3.938 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/1.033, allocations: 10.34 kB / 1.111 GB, free: 8.863 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.808e-05/1.033, allocations: 101 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.822e-05/1.033, allocations: 49.55 kB / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/1.033, allocations: 11.86 kB / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/1.034, allocations: 11.95 kB / 1.111 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.034, allocations: 4 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.034, allocations: 3.125 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/1.034, allocations: 0 / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/1.034, allocations: 447.3 kB / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.034, allocations: 0 / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/1.034, allocations: 6.875 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.034, allocations: 4.25 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/1.034, allocations: 4.094 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.034, allocations: 0 / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.034, allocations: 0 / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/1.034, allocations: 95.55 kB / 1.112 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/1.034, allocations: 85.02 kB / 1.112 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/1.034, allocations: 4.031 kB / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.158e-05/1.034, allocations: 0 / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/1.034, allocations: 3.984 kB / 1.112 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/1.034, allocations: 7.75 kB / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.39e-05/1.034, allocations: 106.2 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.034, allocations: 0 / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001823/1.035, allocations: 12 kB / 1.112 GB, free: 7.824 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.0004077/1.035, allocations: 0.6915 MB / 1.113 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.356e-05/1.035, allocations: 19.94 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.035, allocations: 0 / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.128e-05/1.035, allocations: 4.219 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/1.035, allocations: 9.953 kB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/1.036, allocations: 146.7 kB / 1.113 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/1.036, allocations: 0.697 MB / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.861e-05/1.036, allocations: 8.172 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/1.036, allocations: 23.44 kB / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/1.036, allocations: 4 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/1.057, allocations: 0.9677 MB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/1.057, allocations: 148.8 kB / 1.115 GB, free: 5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.555, allocations: 0.9844 kB / 1.115 GB, free: 5 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)