Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.To_ton,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",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.736/1.736, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.00144/0.00144, allocations: 178.6 kB / 371.8 MB, free: 10.28 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.041/2.041, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009813/0.0009814, allocations: 101.1 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 20.84 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7848/1.029, allocations: 137.6 MB / 1.114 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/1.03, allocations: 66.17 kB / 1.114 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002902/1.032, allocations: 1.157 MB / 1.115 GB, free: 31.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/1.032, allocations: 3.938 kB / 1.115 GB, free: 31.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.805e-06/1.032, allocations: 3.875 kB / 1.115 GB, free: 31.92 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.0003611/1.033, allocations: 377.8 kB / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.033, allocations: 15.52 kB / 1.115 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/1.033, allocations: 45.03 kB / 1.115 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/1.033, allocations: 7.781 kB / 1.115 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/1.033, allocations: 189.3 kB / 1.116 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/1.033, allocations: 3.938 kB / 1.116 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/1.033, allocations: 7.531 kB / 1.116 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/1.033, allocations: 86.92 kB / 1.116 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/1.033, allocations: 3.781 kB / 1.116 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.033, allocations: 3.875 kB / 1.116 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.033, allocations: 7.938 kB / 1.116 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.112e-05/1.033, allocations: 39.84 kB / 1.116 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/1.034, allocations: 463.1 kB / 1.116 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.175e-05/1.034, allocations: 39.89 kB / 1.116 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/1.034, allocations: 0 / 1.116 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/1.034, allocations: 34.59 kB / 1.116 GB, free: 30.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/1.034, allocations: 0 / 1.116 GB, free: 30.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001694/1.034, allocations: 56.52 kB / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/1.034, allocations: 87.75 kB / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/1.034, allocations: 151.8 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/1.034, allocations: 25.7 kB / 1.117 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/1.034, allocations: 105 kB / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/1.034, allocations: 13.75 kB / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/1.034, allocations: 0 / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.035, allocations: 331.2 kB / 1.117 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/1.035, allocations: 3.344 kB / 1.117 GB, free: 30.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/1.035, allocations: 23.03 kB / 1.117 GB, free: 30.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/1.035, allocations: 7.281 kB / 1.117 GB, free: 30.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.035, allocations: 0 / 1.117 GB, free: 30.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.797e-05/1.035, allocations: 67.8 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/1.035, allocations: 7.062 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/1.035, allocations: 4.625 kB / 1.117 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/1.035, allocations: 0 / 1.117 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/1.035, allocations: 11.41 kB / 1.117 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/1.035, allocations: 0 / 1.117 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/1.035, allocations: 3.906 kB / 1.117 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/1.035, allocations: 10.47 kB / 1.117 GB, free: 30 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 7.363e-05/1.035, allocations: 113.3 kB / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/1.035, allocations: 15.14 kB / 1.117 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/1.035, allocations: 15.09 kB / 1.117 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.035, allocations: 4 kB / 1.117 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.035, allocations: 0 / 1.117 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.035, allocations: 3.844 kB / 1.117 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/1.036, allocations: 477.8 kB / 1.118 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.036, allocations: 1.859 kB / 1.118 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/1.036, allocations: 7.875 kB / 1.118 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.036, allocations: 6.516 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/1.036, allocations: 4.062 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/1.036, allocations: 0 / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/1.036, allocations: 0 / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.409e-05/1.036, allocations: 96.67 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/1.036, allocations: 86.03 kB / 1.118 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/1.036, allocations: 1.594 kB / 1.118 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.488e-05/1.036, allocations: 7.875 kB / 1.118 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/1.036, allocations: 0 / 1.118 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/1.036, allocations: 3.812 kB / 1.118 GB, free: 29.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.662e-05/1.036, allocations: 127.5 kB / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.036, allocations: 0 / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001768/1.036, allocations: 18.97 kB / 1.118 GB, free: 29.11 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.0003722/1.036, allocations: 0.6991 MB / 1.119 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.43e-05/1.037, allocations: 21.86 kB / 1.119 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.037, allocations: 224 / 1.119 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/1.037, allocations: 7.781 kB / 1.119 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001006/1.037, allocations: 16.06 kB / 1.119 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/1.037, allocations: 0.7364 MB / 1.12 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/1.038, allocations: 0.6998 MB / 1.12 GB, free: 27.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.717e-05/1.038, allocations: 7.094 kB / 1.12 GB, free: 27.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/1.038, allocations: 26.89 kB / 1.12 GB, free: 27.16 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/1.038, allocations: 4 kB / 1.12 GB, free: 27.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/1.051, allocations: 1.581 MB / 1.122 GB, free: 27 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/1.051, allocations: 199 kB / 1.122 GB, free: 26.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.553, allocations: 4 kB / 1.122 GB, free: 26.75 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)