Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001734/0.001735, 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.515/1.515, allocations: 205.4 MB / 0.6366 GB, free: 8.613 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.0008742/0.0008742, allocations: 94.67 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003527, allocations: 11.98 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2819, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8144/1.096, allocations: 138.6 MB / 1.124 GB, free: 35.87 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.097, allocations: 66.67 kB / 1.124 GB, free: 35.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002634/1.099, allocations: 1.15 MB / 1.125 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.931e-06/1.099, allocations: 0.9062 kB / 1.125 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.263e-05/1.099, allocations: 0 / 1.125 GB, free: 34.96 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.0004658/1.1, allocations: 387.6 kB / 1.125 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.864e-05/1.1, allocations: 12.02 kB / 1.125 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/1.1, allocations: 39.75 kB / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/1.1, allocations: 14.17 kB / 1.125 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/1.1, allocations: 184.1 kB / 1.126 GB, free: 34.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/1.1, allocations: 14 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/1.1, allocations: 8 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/1.101, allocations: 86.52 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/1.101, allocations: 1 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/1.101, allocations: 9.641 kB / 1.126 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/1.101, allocations: 2.5 kB / 1.126 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.346e-05/1.101, allocations: 39.92 kB / 1.126 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006572/1.101, allocations: 469.5 kB / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.418e-05/1.101, allocations: 37.34 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/1.101, allocations: 0 / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/1.102, allocations: 34.56 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/1.102, allocations: 0 / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001985/1.102, allocations: 62 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/1.102, allocations: 77.11 kB / 1.126 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/1.102, allocations: 155.4 kB / 1.126 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/1.102, allocations: 25.7 kB / 1.126 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/1.102, allocations: 107.4 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/1.102, allocations: 7.844 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/1.102, allocations: 5.141 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/1.102, allocations: 324.8 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/1.102, allocations: 15.5 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.235e-05/1.102, allocations: 17.72 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.505e-05/1.102, allocations: 8 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.102, allocations: 4.219 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.03e-05/1.102, allocations: 64.92 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.102, allocations: 12.97 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/1.102, allocations: 0.5469 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.102, allocations: 5.188 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/1.102, allocations: 8.75 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/1.102, allocations: 0 / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/1.103, allocations: 3.906 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/1.103, allocations: 4 kB / 1.127 GB, free: 32.63 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 7.421e-05/1.103, allocations: 117.2 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/1.103, allocations: 11.86 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/1.103, allocations: 12.56 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.103, allocations: 0 / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.103, allocations: 5.125 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.103, allocations: 0 / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/1.103, allocations: 483.6 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.103, allocations: 0 / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/1.103, allocations: 4.5 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.103, allocations: 0 / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/1.103, allocations: 0.9375 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.103, allocations: 0.6875 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.103, allocations: 9.188 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.941e-05/1.103, allocations: 98.84 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/1.103, allocations: 88.48 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/1.103, allocations: 0 / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.314e-05/1.103, allocations: 0 / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/1.103, allocations: 12.66 kB / 1.128 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/1.103, allocations: 0 / 1.128 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.741e-05/1.103, allocations: 127.8 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.103, allocations: 0.9375 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001738/1.104, allocations: 15.94 kB / 1.128 GB, free: 31.59 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.0002947/1.104, allocations: 0.6989 MB / 1.129 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.266e-05/1.104, allocations: 16 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.104, allocations: 0 / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/1.104, allocations: 11.94 kB / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/1.104, allocations: 9.875 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/1.105, allocations: 0.7516 MB / 1.129 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/1.105, allocations: 0.6952 MB / 1.13 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.191e-05/1.105, allocations: 8.047 kB / 1.13 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/1.105, allocations: 26.95 kB / 1.13 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of SimCode: time 4.879e-06/1.105, allocations: 0 / 1.13 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/1.118, allocations: 1.578 MB / 1.132 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/1.118, allocations: 184.5 kB / 1.132 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.741, allocations: 3.938 kB / 1.132 GB, free: 28.22 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)