Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 187.5 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006885/0.0006885, allocations: 88.44 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 12.28 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1836, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0008499/0.1845, allocations: 0.5577 MB / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001146/0.1847, allocations: 47.7 kB / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.1847, allocations: 0 / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.1848, allocations: 3.938 kB / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.342e-05/0.1848, allocations: 7.938 kB / 0.9009 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.345e-05/0.1849, allocations: 15.98 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.185, allocations: 59.84 kB / 0.901 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1851, allocations: 37.55 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.267e-05/0.1852, allocations: 19.88 kB / 0.901 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.1852, allocations: 19.8 kB / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1852, allocations: 4 kB / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-06/0.1853, allocations: 4 kB / 0.9011 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.1853, allocations: 15.92 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.1853, allocations: 41.58 kB / 0.9011 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.253e-05/0.1854, allocations: 55.86 kB / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1854, allocations: 4 kB / 0.9012 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/0.1854, allocations: 0 / 0.9012 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1854, allocations: 0 / 0.9012 GB, free: 62.87 MB / 0.6042 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.0003098/0.1857, allocations: 363.4 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1858, allocations: 12.03 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.1858, allocations: 42.55 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.1859, allocations: 19.75 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.186, allocations: 194.8 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.186, allocations: 4 kB / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1861, allocations: 8 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1862, allocations: 99.28 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1862, allocations: 0 / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1862, allocations: 0 / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1862, allocations: 8 kB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/0.1863, allocations: 39.92 kB / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.1868, allocations: 444.5 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.1868, allocations: 49.28 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.1869, allocations: 13.84 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.1869, allocations: 0 / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.1869, allocations: 30.56 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1869, allocations: 0 / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001594/0.1871, allocations: 65.44 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.1871, allocations: 81.36 kB / 0.9026 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1872, allocations: 166.2 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-06/0.1872, allocations: 25.7 kB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.1873, allocations: 108 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.655e-06/0.1873, allocations: 3.906 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.1873, allocations: 4 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.1874, allocations: 322.8 kB / 0.9032 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.1874, allocations: 7.938 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.1874, allocations: 25.7 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.442e-05/0.1874, allocations: 8 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1874, allocations: 3.953 kB / 0.9032 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.794e-05/0.1875, allocations: 61.55 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1875, allocations: 10.95 kB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1876, allocations: 0 / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1876, allocations: 4.094 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.1876, allocations: 12.06 kB / 0.9033 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1877, allocations: 3.938 kB / 0.9033 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.1877, allocations: 15.83 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1877, allocations: 0 / 0.9033 GB, free: 60.4 MB / 0.6042 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 5.725e-05/0.1878, allocations: 117.8 kB / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.1878, allocations: 11.86 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.1878, allocations: 16.55 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1879, allocations: 0 / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1879, allocations: 4 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1879, allocations: 4 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.1882, allocations: 470.8 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1882, allocations: 4 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.1882, allocations: 3.984 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1882, allocations: 4 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1882, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1882, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1882, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.062e-05/0.1883, allocations: 89.86 kB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.1884, allocations: 88.91 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1884, allocations: 8 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.522e-05/0.1884, allocations: 0 / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.1884, allocations: 0 / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1884, allocations: 0 / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.349e-05/0.1885, allocations: 132.9 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1885, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001725/0.1887, allocations: 12 kB / 0.9043 GB, free: 59.35 MB / 0.6042 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.0002415/0.1889, allocations: 0.621 MB / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.261e-05/0.189, allocations: 16 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.189, allocations: 0 / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.255e-05/0.1891, allocations: 7.938 kB / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.1892, allocations: 9.375 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006839/0.1899, allocations: 0.5986 MB / 0.9055 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.1901, allocations: 0.7004 MB / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.334e-05/0.1901, allocations: 4.438 kB / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.1901, allocations: 23.42 kB / 0.9062 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.1902, allocations: 0 / 0.9062 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01106/0.2012, allocations: 1.589 MB / 0.9077 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001309/0.2014, allocations: 204.8 kB / 0.9079 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.822, allocations: 2.5 kB / 0.9079 GB, free: 55.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)