Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.575/2.575, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001402/0.001402, allocations: 188.8 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001069/0.001069, allocations: 90.27 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.671e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8172/0.8173, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/1.058, allocations: 136.7 MB / 1.097 GB, free: 3.777 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/1.058, allocations: 71.95 kB / 1.097 GB, free: 3.707 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004223/1.062, allocations: 1.148 MB / 1.098 GB, free: 2.582 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/1.062, allocations: 0.5938 kB / 1.098 GB, free: 2.582 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.424e-05/1.062, allocations: 4.938 kB / 1.098 GB, free: 2.578 MB / 0.698 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.0004345/1.063, allocations: 360 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/1.063, allocations: 18.67 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/1.063, allocations: 12.66 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/1.063, allocations: 184.2 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/1.063, allocations: 0 / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/1.063, allocations: 6.812 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001404/1.063, allocations: 35.59 kB / 1.099 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/1.064, allocations: 87.3 kB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.064, allocations: 3.938 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/1.064, allocations: 4 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/1.064, allocations: 0 / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007391/1.064, allocations: 420.4 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.377e-05/1.064, allocations: 35.38 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/1.065, allocations: 22.42 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/1.065, allocations: 4.875 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/1.065, allocations: 31.38 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/1.065, allocations: 0 / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002466/1.065, allocations: 42.58 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/1.065, allocations: 81.67 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/1.065, allocations: 131.3 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/1.065, allocations: 26.58 kB / 1.1 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/1.065, allocations: 108.1 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/1.065, allocations: 8.562 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/1.065, allocations: 0 / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.065, allocations: 320.6 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/1.065, allocations: 4.875 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.956e-05/1.065, allocations: 25.94 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/1.066, allocations: 11.98 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.066, allocations: 0 / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001447/1.066, allocations: 61.5 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.066, allocations: 4 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.066, allocations: 4 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.066, allocations: 1.219 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/1.066, allocations: 4 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.066, allocations: 7.922 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/1.066, allocations: 13.22 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/1.066, allocations: 0 / 1.1 GB, free: 356 kB / 0.698 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 8.611e-05/1.066, allocations: 104.8 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001352/1.066, allocations: 53.5 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/1.066, allocations: 12.09 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/1.066, allocations: 11.95 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.066, allocations: 1.266 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.066, allocations: 2.312 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.066, allocations: 0 / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005613/1.067, allocations: 455.3 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.067, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/1.067, allocations: 8.062 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/1.067, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/1.067, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.067, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.067, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/1.067, allocations: 91.56 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/1.067, allocations: 92.98 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/1.067, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/1.067, allocations: 4 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/1.067, allocations: 3.984 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/1.067, allocations: 0 / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.582e-05/1.068, allocations: 101.5 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.2e-07/1.068, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002705/1.068, allocations: 8 kB / 1.101 GB, free: 15.32 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.0004755/1.068, allocations: 0.6915 MB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001273/1.069, allocations: 23.94 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.069, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/1.069, allocations: 8.156 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/1.069, allocations: 9.5 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/1.069, allocations: 148.1 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/1.07, allocations: 0.6963 MB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.525e-05/1.07, allocations: 8.734 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/1.07, allocations: 27.56 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of SimCode: time 3.116e-06/1.07, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/1.108, allocations: 0.9765 MB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003495/1.108, allocations: 155.9 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.666, allocations: 2.891 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)