Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001061/0.001061, allocations: 185 kB / 377.1 MB, free: 1.516 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.629/1.629, allocations: 205.4 MB / 0.6366 GB, free: 8.523 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.0008858/0.0008858, allocations: 93.52 kB / 0.7509 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004624, allocations: 15.98 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2859, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7628/1.049, allocations: 138.5 MB / 1.124 GB, free: 35.85 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/1.049, allocations: 67.86 kB / 1.124 GB, free: 35.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00243/1.051, allocations: 1.156 MB / 1.125 GB, free: 34.94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.475e-06/1.051, allocations: 0 / 1.125 GB, free: 34.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.051, allocations: 4.938 kB / 1.125 GB, free: 34.93 MB / 0.7292 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.0003148/1.052, allocations: 379.8 kB / 1.125 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.052, allocations: 18.09 kB / 1.125 GB, free: 34.51 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/1.052, allocations: 38.19 kB / 1.125 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/1.052, allocations: 13.97 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/1.052, allocations: 186.2 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/1.052, allocations: 7.438 kB / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/1.052, allocations: 8 kB / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/1.052, allocations: 97.36 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.052, allocations: 0.5156 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/1.052, allocations: 0 / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.052, allocations: 4 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.269e-05/1.052, allocations: 39.41 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/1.053, allocations: 463.6 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.955e-05/1.053, allocations: 41.28 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/1.053, allocations: 4.562 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/1.053, allocations: 35.48 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/1.053, allocations: 0 / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001748/1.053, allocations: 53.11 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/1.053, allocations: 81.11 kB / 1.126 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/1.053, allocations: 156 kB / 1.126 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/1.053, allocations: 34.25 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/1.053, allocations: 103.5 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/1.053, allocations: 7.844 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/1.053, allocations: 0 / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.916e-05/1.053, allocations: 325 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/1.054, allocations: 11.94 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/1.054, allocations: 21.23 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.425e-05/1.054, allocations: 16 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.054, allocations: 0 / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.3e-05/1.054, allocations: 61.56 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/1.054, allocations: 8.594 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.054, allocations: 0 / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/1.054, allocations: 4 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/1.054, allocations: 7.969 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/1.054, allocations: 0.5469 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/1.054, allocations: 7.906 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/1.054, allocations: 4.719 kB / 1.127 GB, free: 32.61 MB / 0.7292 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 6.082e-05/1.054, allocations: 114.9 kB / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/1.054, allocations: 11.86 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/1.054, allocations: 16.66 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.054, allocations: 0 / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.054, allocations: 0 / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.054, allocations: 4 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/1.054, allocations: 481.2 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/1.054, allocations: 0.5 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/1.054, allocations: 7.609 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/1.054, allocations: 0 / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/1.054, allocations: 4.5 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.054, allocations: 0.9375 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.054, allocations: 0 / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.549e-05/1.054, allocations: 99.48 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/1.055, allocations: 88.58 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/1.055, allocations: 6.062 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.356e-05/1.055, allocations: 0 / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/1.055, allocations: 7.469 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/1.055, allocations: 0.6094 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.842e-05/1.055, allocations: 123.9 kB / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.055, allocations: 4.031 kB / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001811/1.055, allocations: 16.69 kB / 1.128 GB, free: 31.57 MB / 0.7292 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.0002726/1.055, allocations: 0.6996 MB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.007e-05/1.055, allocations: 19.78 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.055, allocations: 0 / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.42e-05/1.055, allocations: 15.88 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/1.055, allocations: 4.656 kB / 1.129 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007465/1.056, allocations: 0.7426 MB / 1.129 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/1.056, allocations: 0.7064 MB / 1.13 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.908e-05/1.056, allocations: 7.859 kB / 1.13 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/1.056, allocations: 23.98 kB / 1.13 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/1.056, allocations: 0 / 1.13 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/1.068, allocations: 1.588 MB / 1.132 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/1.068, allocations: 182.8 kB / 1.132 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.707, allocations: 0 / 1.132 GB, free: 28.2 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)