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.809/1.809, allocations: 289.7 MB / 302.3 MB, free: 2.098 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.001192/0.001192, allocations: 176.6 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.687/1.687, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009347/0.0009347, allocations: 92.83 kB / 0.745 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.489e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2891, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.923/1.212, allocations: 138.5 MB / 1.115 GB, free: 45.07 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/1.212, allocations: 64.52 kB / 1.115 GB, free: 45.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00255/1.215, allocations: 1.156 MB / 1.116 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.804e-06/1.215, allocations: 0.5938 kB / 1.116 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.195e-06/1.215, allocations: 4 kB / 1.116 GB, free: 44.32 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.000293/1.215, allocations: 362.8 kB / 1.117 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/1.215, allocations: 8.594 kB / 1.117 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/1.215, allocations: 42.75 kB / 1.117 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/1.216, allocations: 14.31 kB / 1.117 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/1.216, allocations: 187.5 kB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/1.216, allocations: 9.078 kB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/1.216, allocations: 7.938 kB / 1.117 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/1.216, allocations: 94.05 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/1.216, allocations: 0.875 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/1.216, allocations: 7.75 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/1.216, allocations: 5.156 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.265e-05/1.216, allocations: 39.11 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/1.216, allocations: 458.9 kB / 1.117 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/1.217, allocations: 36.62 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/1.217, allocations: 17.47 kB / 1.118 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/1.217, allocations: 0.8438 kB / 1.118 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/1.217, allocations: 39.41 kB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.217, allocations: 7.062 kB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001438/1.217, allocations: 49.45 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/1.217, allocations: 81.05 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/1.217, allocations: 158.1 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/1.217, allocations: 25.7 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/1.217, allocations: 107.1 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/1.217, allocations: 11.77 kB / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/1.217, allocations: 4.062 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.757e-05/1.217, allocations: 322.2 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/1.217, allocations: 7.938 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/1.217, allocations: 25.12 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.251e-05/1.217, allocations: 4 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.217, allocations: 0 / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.5e-05/1.217, allocations: 73.16 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.217, allocations: 8 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.217, allocations: 0 / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.217, allocations: 0 / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.934e-05/1.217, allocations: 4.609 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/1.217, allocations: 0.9375 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/1.217, allocations: 15.59 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/1.217, allocations: 0.7812 kB / 1.118 GB, free: 42.14 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 4.521e-05/1.217, allocations: 105.8 kB / 1.119 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/1.217, allocations: 15.92 kB / 1.119 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/1.218, allocations: 15.59 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/1.218, allocations: 0 / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.218, allocations: 0 / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.218, allocations: 0.6094 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/1.218, allocations: 486.5 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.218, allocations: 0 / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/1.218, allocations: 4.062 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.218, allocations: 4.844 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/1.218, allocations: 3.938 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.218, allocations: 4.812 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.218, allocations: 0 / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.115e-05/1.218, allocations: 90.62 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/1.218, allocations: 93.75 kB / 1.119 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/1.218, allocations: 7.422 kB / 1.119 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/1.218, allocations: 0 / 1.119 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/1.218, allocations: 0.5 kB / 1.119 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/1.218, allocations: 0.75 kB / 1.119 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.049e-05/1.218, allocations: 126.8 kB / 1.119 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.218, allocations: 0 / 1.119 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001677/1.218, allocations: 11.88 kB / 1.119 GB, free: 41.16 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.0002633/1.219, allocations: 0.7 MB / 1.12 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.493e-05/1.219, allocations: 19.88 kB / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.219, allocations: 0 / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/1.219, allocations: 12.09 kB / 1.12 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/1.219, allocations: 8.312 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/1.219, allocations: 147 kB / 1.12 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/1.219, allocations: 0.6988 MB / 1.121 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.181e-05/1.219, allocations: 12.03 kB / 1.121 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/1.219, allocations: 22.11 kB / 1.121 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.219, allocations: 5.406 kB / 1.121 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0113/1.231, allocations: 1.535 MB / 1.122 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/1.231, allocations: 160.4 kB / 1.123 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/2.699, allocations: 3.094 kB / 1.123 GB, free: 38.47 MB / 0.7448 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)