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.577/1.577, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.001024/0.001024, allocations: 176.9 kB / 361.4 MB, free: 6.832 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.939/1.939, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0007732/0.0007734, allocations: 89.69 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.584e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7079/0.7079, allocations: 115.3 MB / 0.9645 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.88, allocations: 136.8 MB / 1.098 GB, free: 2.934 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.8802, allocations: 68.45 kB / 1.098 GB, free: 2.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002701/0.883, allocations: 1.149 MB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.744e-06/0.883, allocations: 0 / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.883, allocations: 0.7812 kB / 1.099 GB, free: 1.742 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.0003215/0.8833, allocations: 362.9 kB / 1.1 GB, free: 1.344 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.8834, allocations: 8.531 kB / 1.1 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.8834, allocations: 20.62 kB / 1.1 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.8836, allocations: 183.5 kB / 1.1 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.8836, allocations: 4 kB / 1.1 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.8836, allocations: 4.781 kB / 1.1 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.847e-05/0.8837, allocations: 32 kB / 1.1 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.8839, allocations: 89.64 kB / 1.1 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.8839, allocations: 6.891 kB / 1.1 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.8839, allocations: 0 / 1.1 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.8839, allocations: 4 kB / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.8845, allocations: 413.1 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.837e-05/0.8845, allocations: 39.33 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.8846, allocations: 21.88 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.8846, allocations: 0.5625 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.8846, allocations: 39.14 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.8846, allocations: 0.875 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001496/0.8848, allocations: 38.39 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.8848, allocations: 81.55 kB / 1.101 GB, free: 256 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.885, allocations: 135 kB / 1.101 GB, free: 116 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.885, allocations: 25.7 kB / 1.101 GB, free: 84 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.8851, allocations: 108.1 kB / 1.101 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.8851, allocations: 3.906 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.8851, allocations: 0.5 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.8852, allocations: 323.7 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.8852, allocations: 4 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.8852, allocations: 19.69 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.346e-05/0.8853, allocations: 8 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8853, allocations: 4 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.334e-05/0.8854, allocations: 60.59 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8854, allocations: 7.953 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.8854, allocations: 0 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.8854, allocations: 7.5 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.8855, allocations: 10.38 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.8855, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.8855, allocations: 7.344 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.8856, allocations: 7.984 kB / 1.101 GB, free: 15.51 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 5.842e-05/0.8856, allocations: 101 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.548e-05/0.8857, allocations: 49.55 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.8858, allocations: 11.86 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.8858, allocations: 11.95 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.8858, allocations: 1.219 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8858, allocations: 192 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.8858, allocations: 4 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.8862, allocations: 451.3 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8862, allocations: 0 / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.8862, allocations: 4 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.8862, allocations: 1.219 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.8862, allocations: 4 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.8862, allocations: 0 / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8863, allocations: 4.062 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.606e-05/0.8863, allocations: 91.56 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.8864, allocations: 88.02 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.8864, allocations: 3.938 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.8864, allocations: 0 / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.8865, allocations: 4.031 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.8865, allocations: 4 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.315e-05/0.8865, allocations: 104.8 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8866, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001789/0.8867, allocations: 8 kB / 1.102 GB, free: 14.48 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.0003566/0.8871, allocations: 0.6975 MB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.914e-05/0.8872, allocations: 19.94 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8872, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.8872, allocations: 8 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.8873, allocations: 224 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.8877, allocations: 153.2 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.8879, allocations: 0.7014 MB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.715e-05/0.888, allocations: 4.172 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.888, allocations: 23.44 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.888, allocations: 0 / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.497/1.385, allocations: 0.9882 MB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/1.385, allocations: 160.6 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/3.151, allocations: 0 / 1.105 GB, free: 11.65 MB / 0.7136 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)