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.705/1.705, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001096/0.001096, allocations: 183.7 kB / 371.8 MB, free: 10.26 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.442/1.442, allocations: 205.4 MB / 0.6305 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007772/0.000777, allocations: 98.78 kB / 0.7439 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003768, allocations: 15.77 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2373, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7592/0.9966, allocations: 137.6 MB / 1.114 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.9969, allocations: 58.38 kB / 1.114 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003035/0.9999, allocations: 1.16 MB / 1.115 GB, free: 32.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9999, allocations: 0 / 1.115 GB, free: 32.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.9999, allocations: 0 / 1.115 GB, free: 32.07 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.0003785/1, allocations: 381 kB / 1.115 GB, free: 31.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/1, allocations: 19.48 kB / 1.115 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/1, allocations: 39.48 kB / 1.115 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/1.001, allocations: 13.28 kB / 1.115 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/1.001, allocations: 186.2 kB / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/1.001, allocations: 6.625 kB / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/1.001, allocations: 13.19 kB / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/1.001, allocations: 88 kB / 1.116 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.001, allocations: 0 / 1.116 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/1.001, allocations: 3.844 kB / 1.116 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/1.001, allocations: 4 kB / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.224e-05/1.001, allocations: 45.61 kB / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/1.002, allocations: 457.9 kB / 1.116 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/1.002, allocations: 33.09 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/1.002, allocations: 3.812 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/1.002, allocations: 37.3 kB / 1.116 GB, free: 30.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.002, allocations: 3.938 kB / 1.116 GB, free: 30.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001826/1.002, allocations: 55.45 kB / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.002, allocations: 81.05 kB / 1.116 GB, free: 30.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/1.002, allocations: 152.3 kB / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/1.002, allocations: 27.02 kB / 1.117 GB, free: 30.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/1.002, allocations: 106.9 kB / 1.117 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/1.002, allocations: 11.97 kB / 1.117 GB, free: 30.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/1.002, allocations: 1.312 kB / 1.117 GB, free: 30.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.002, allocations: 324.3 kB / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/1.002, allocations: 12.62 kB / 1.117 GB, free: 30.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/1.002, allocations: 21.75 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/1.002, allocations: 8.844 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.002, allocations: 3.938 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.079e-05/1.003, allocations: 64.34 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.003, allocations: 8.312 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.003, allocations: 1.281 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.003, allocations: 4.062 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/1.003, allocations: 6.719 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.003, allocations: 0 / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/1.003, allocations: 10.5 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/1.003, allocations: 1.219 kB / 1.117 GB, free: 30.15 MB / 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 () * 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.519e-05/1.003, allocations: 113.8 kB / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/1.003, allocations: 11.67 kB / 1.117 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/1.003, allocations: 14.64 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.003, allocations: 1.312 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.003, allocations: 4 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.003, allocations: 1.312 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/1.003, allocations: 483.5 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.003, allocations: 2.062 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/1.003, allocations: 7.109 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.003, allocations: 9.328 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/1.003, allocations: 0 / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.003, allocations: 7.281 kB / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.003, allocations: 0 / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.687e-05/1.004, allocations: 96.83 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/1.004, allocations: 84.06 kB / 1.118 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/1.004, allocations: 3.812 kB / 1.118 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.505e-05/1.004, allocations: 7.172 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/1.004, allocations: 0 / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/1.004, allocations: 3.844 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.881e-05/1.004, allocations: 128.8 kB / 1.118 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.004, allocations: 0 / 1.118 GB, free: 29.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001909/1.004, allocations: 15.53 kB / 1.118 GB, free: 29.26 MB / 0.698 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.0003708/1.004, allocations: 0.7039 MB / 1.119 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.512e-05/1.004, allocations: 18.66 kB / 1.119 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.004, allocations: 0 / 1.119 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/1.004, allocations: 6.625 kB / 1.119 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/1.005, allocations: 7.5 kB / 1.119 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008399/1.005, allocations: 0.7478 MB / 1.12 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/1.006, allocations: 0.6953 MB / 1.12 GB, free: 27.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.967e-05/1.006, allocations: 7.438 kB / 1.12 GB, free: 27.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/1.006, allocations: 28.12 kB / 1.12 GB, free: 27.31 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/1.006, allocations: 4 kB / 1.12 GB, free: 27.31 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/1.017, allocations: 1.583 MB / 1.122 GB, free: 27.16 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/1.017, allocations: 201 kB / 1.122 GB, free: 26.92 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.588, allocations: 7.844 kB / 1.122 GB, free: 26.91 MB / 0.698 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)