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_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.From_ton,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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.709/1.709, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.001158/0.001158, allocations: 189 kB / 371.8 MB, free: 10.27 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.743/1.743, 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.0009479/0.0009477, allocations: 85.16 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 16.67 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2391, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7399/0.9791, allocations: 137.6 MB / 1.114 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.9793, allocations: 65.56 kB / 1.114 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002893/0.9822, allocations: 1.147 MB / 1.115 GB, free: 32.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.484e-06/0.9823, allocations: 0 / 1.115 GB, free: 32.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.9823, allocations: 3.844 kB / 1.115 GB, free: 32.21 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.000358/0.9826, allocations: 379.7 kB / 1.115 GB, free: 31.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.9827, allocations: 22.78 kB / 1.115 GB, free: 31.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.9827, allocations: 39.19 kB / 1.115 GB, free: 31.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.9828, allocations: 7.688 kB / 1.115 GB, free: 31.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.9829, allocations: 192.6 kB / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.9829, allocations: 3.906 kB / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.983, allocations: 6.906 kB / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.9831, allocations: 92.84 kB / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.9831, allocations: 0 / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.9831, allocations: 0 / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.9832, allocations: 11.75 kB / 1.116 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.9832, allocations: 40.44 kB / 1.116 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.9838, allocations: 467.2 kB / 1.116 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.359e-05/0.9838, allocations: 35.94 kB / 1.116 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.9838, allocations: 0 / 1.116 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.9839, allocations: 34.59 kB / 1.116 GB, free: 31.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.9839, allocations: 0 / 1.116 GB, free: 31.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001684/0.984, allocations: 57.95 kB / 1.116 GB, free: 30.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.9841, allocations: 84.92 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.9842, allocations: 153.7 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.9843, allocations: 31.62 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.9843, allocations: 106.8 kB / 1.117 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.9843, allocations: 11.72 kB / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.9843, allocations: 2.875 kB / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.9845, allocations: 323.3 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.9845, allocations: 10.69 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.9845, allocations: 19.84 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.351e-05/0.9845, allocations: 6.938 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9846, allocations: 0 / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.047e-05/0.9846, allocations: 72.83 kB / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.9847, allocations: 5.688 kB / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.9847, allocations: 4.062 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.9847, allocations: 0 / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.9848, allocations: 7.656 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.9848, allocations: 3.984 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.9848, allocations: 7.719 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.9848, allocations: 0 / 1.117 GB, free: 30.29 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.285e-05/0.9849, allocations: 119.7 kB / 1.117 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.985, allocations: 11.7 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.985, allocations: 11.81 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.985, allocations: 4 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.985, allocations: 3.938 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.985, allocations: 7.062 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.9854, allocations: 474 kB / 1.118 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9854, allocations: 1.75 kB / 1.118 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.9854, allocations: 6.375 kB / 1.118 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.9854, allocations: 3.938 kB / 1.118 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.9854, allocations: 64 / 1.118 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9854, allocations: 4 kB / 1.118 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9854, allocations: 0 / 1.118 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.211e-05/0.9855, allocations: 98.62 kB / 1.118 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.9856, allocations: 91.12 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.9856, allocations: 0 / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.408e-05/0.9856, allocations: 4.031 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.9857, allocations: 3.812 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.9857, allocations: 0 / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.36e-05/0.9858, allocations: 132.3 kB / 1.118 GB, free: 29.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9858, allocations: 0 / 1.118 GB, free: 29.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001725/0.9859, allocations: 11.81 kB / 1.118 GB, free: 29.39 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.000335/0.9863, allocations: 0.6998 MB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.727e-05/0.9864, allocations: 21.83 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.9864, allocations: 0 / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/0.9864, allocations: 15.25 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.9865, allocations: 3.969 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008155/0.9874, allocations: 0.7429 MB / 1.12 GB, free: 28.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.9876, allocations: 0.6989 MB / 1.12 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.9877, allocations: 8.156 kB / 1.12 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.9877, allocations: 24.61 kB / 1.12 GB, free: 27.45 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/0.9877, allocations: 4 kB / 1.12 GB, free: 27.45 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01106/0.9988, allocations: 1.582 MB / 1.122 GB, free: 27.29 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.999, allocations: 198.2 kB / 1.122 GB, free: 27.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.542, allocations: 7.844 kB / 1.122 GB, free: 27.04 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)