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.759/1.759, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001617/0.001617, allocations: 183.9 kB / 377.1 MB, free: 1.539 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.802/1.802, allocations: 205.4 MB / 0.6366 GB, free: 8.648 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.0009749/0.0009749, allocations: 96.22 kB / 0.7509 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 16 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2857, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7556/1.041, allocations: 138.5 MB / 1.124 GB, free: 35.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.042, allocations: 63 kB / 1.124 GB, free: 35.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003406/1.045, allocations: 1.157 MB / 1.125 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.535e-06/1.045, allocations: 0 / 1.125 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.045, allocations: 0.5938 kB / 1.125 GB, free: 35.05 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.0003926/1.046, allocations: 389.3 kB / 1.125 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/1.046, allocations: 16.02 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/1.046, allocations: 35.78 kB / 1.125 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/1.046, allocations: 13.97 kB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.046, allocations: 186.2 kB / 1.126 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/1.046, allocations: 14.69 kB / 1.126 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/1.046, allocations: 4 kB / 1.126 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/1.046, allocations: 95.39 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.046, allocations: 2.484 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/1.046, allocations: 4 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.046, allocations: 0 / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/1.046, allocations: 43.31 kB / 1.126 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/1.047, allocations: 458.5 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.733e-05/1.047, allocations: 41.28 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/1.047, allocations: 0 / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.047, allocations: 40 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.545e-06/1.047, allocations: 1.125 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002386/1.047, allocations: 52.73 kB / 1.126 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/1.047, allocations: 85.36 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/1.048, allocations: 155.5 kB / 1.126 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/1.048, allocations: 25.7 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/1.048, allocations: 104.3 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.01e-05/1.048, allocations: 11.67 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/1.048, allocations: 0 / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.723e-05/1.048, allocations: 324.9 kB / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/1.048, allocations: 11.42 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-05/1.048, allocations: 25.66 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/1.048, allocations: 12 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.048, allocations: 0 / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001271/1.048, allocations: 65.12 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/1.048, allocations: 4.656 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.048, allocations: 3.938 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.048, allocations: 0 / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/1.048, allocations: 8 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/1.048, allocations: 4.062 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/1.048, allocations: 8.406 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/1.048, allocations: 0 / 1.127 GB, free: 32.72 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 8.319e-05/1.048, allocations: 118.2 kB / 1.127 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/1.049, allocations: 11.86 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/1.049, allocations: 12.56 kB / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.049, allocations: 0.75 kB / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.049, allocations: 0.875 kB / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.049, allocations: 0 / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/1.049, allocations: 487.4 kB / 1.128 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/1.049, allocations: 0 / 1.128 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/1.049, allocations: 4 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.049, allocations: 1.031 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/1.049, allocations: 4.5 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.049, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.049, allocations: 0 / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/1.049, allocations: 102.9 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/1.049, allocations: 89.33 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/1.049, allocations: 4.562 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/1.049, allocations: 0 / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/1.049, allocations: 0 / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/1.049, allocations: 4.594 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000108/1.05, allocations: 131.5 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/1.05, allocations: 1.688 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003338/1.05, allocations: 11.94 kB / 1.128 GB, free: 31.69 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.0003283/1.05, allocations: 0.7025 MB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001034/1.05, allocations: 16 kB / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.05, allocations: 0 / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/1.05, allocations: 7.938 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/1.051, allocations: 12.62 kB / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/1.052, allocations: 0.7544 MB / 1.129 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/1.052, allocations: 0.7036 MB / 1.13 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.03e-05/1.052, allocations: 4.438 kB / 1.13 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/1.052, allocations: 23 kB / 1.13 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of SimCode: time 3.51e-07/1.052, allocations: 0 / 1.13 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/1.068, allocations: 1.579 MB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/1.068, allocations: 181.8 kB / 1.132 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.705, allocations: 0 / 1.132 GB, free: 28.32 MB / 0.7292 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)