Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.519/1.519, allocations: 285.4 MB / 298 MB, free: 5.938 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.0009837/0.0009837, allocations: 172.9 kB / 366.4 MB, free: 2.066 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.621/1.621, allocations: 205.1 MB / 0.6248 GB, free: 7.707 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.0009758/0.0009757, allocations: 95.84 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.02e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.92/0.92, allocations: 115.3 MB / 0.971 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2205/1.141, allocations: 137.5 MB / 1.105 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/1.141, allocations: 59.97 kB / 1.105 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003125/1.144, allocations: 1.172 MB / 1.106 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.934e-06/1.144, allocations: 0 / 1.106 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.909e-06/1.144, allocations: 0 / 1.106 GB, free: 13.07 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.0003732/1.145, allocations: 362.3 kB / 1.107 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/1.145, allocations: 8.031 kB / 1.107 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/1.145, allocations: 43.7 kB / 1.107 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/1.145, allocations: 15.31 kB / 1.107 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/1.145, allocations: 180.9 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/1.145, allocations: 0.9062 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/1.145, allocations: 12 kB / 1.107 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/1.145, allocations: 100.5 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/1.145, allocations: 0 / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/1.145, allocations: 2.438 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.145, allocations: 1.219 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.91e-05/1.145, allocations: 39.94 kB / 1.107 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/1.146, allocations: 462.1 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.319e-05/1.146, allocations: 39.09 kB / 1.108 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/1.146, allocations: 17.78 kB / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/1.146, allocations: 4.734 kB / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/1.146, allocations: 31.28 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.073e-06/1.146, allocations: 0.5312 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001828/1.146, allocations: 56.08 kB / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/1.146, allocations: 77.11 kB / 1.108 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/1.147, allocations: 156.6 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/1.147, allocations: 28.52 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/1.147, allocations: 112.8 kB / 1.108 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/1.147, allocations: 3.906 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/1.147, allocations: 0 / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.147, allocations: 325.5 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/1.147, allocations: 8 kB / 1.108 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/1.147, allocations: 17.72 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/1.147, allocations: 16.44 kB / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.147, allocations: 0.875 kB / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00011/1.147, allocations: 66.17 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.147, allocations: 4.781 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.147, allocations: 0 / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.147, allocations: 2.031 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/1.147, allocations: 15.22 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.147, allocations: 0 / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/1.147, allocations: 14.16 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/1.147, allocations: 0 / 1.109 GB, free: 10.68 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 7.233e-05/1.147, allocations: 106 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/1.147, allocations: 11.86 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/1.147, allocations: 16.55 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/1.147, allocations: 4 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.147, allocations: 0 / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.147, allocations: 0 / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/1.148, allocations: 486.9 kB / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.148, allocations: 0 / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/1.148, allocations: 7.984 kB / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.148, allocations: 0 / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/1.148, allocations: 0 / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.148, allocations: 0 / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.148, allocations: 0 / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/1.148, allocations: 105.6 kB / 1.109 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/1.148, allocations: 88.92 kB / 1.109 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/1.148, allocations: 3.984 kB / 1.109 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.497e-05/1.148, allocations: 0 / 1.109 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/1.148, allocations: 4 kB / 1.109 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/1.148, allocations: 3.875 kB / 1.109 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000108/1.148, allocations: 128 kB / 1.11 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.148, allocations: 0 / 1.11 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001853/1.149, allocations: 8 kB / 1.11 GB, free: 9.613 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.0004902/1.149, allocations: 0.6992 MB / 1.11 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001007/1.149, allocations: 24.03 kB / 1.11 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.149, allocations: 4 kB / 1.11 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/1.149, allocations: 7.938 kB / 1.11 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/1.149, allocations: 5.766 kB / 1.11 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/1.15, allocations: 150 kB / 1.11 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/1.15, allocations: 0.7012 MB / 1.111 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.476e-05/1.15, allocations: 8.422 kB / 1.111 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/1.15, allocations: 23.44 kB / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/1.15, allocations: 0 / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/1.162, allocations: 1.554 MB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/1.162, allocations: 169.6 kB / 1.113 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/2.634, allocations: 0 / 1.113 GB, free: 6.312 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)