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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 107.4 kB / 15.34 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 194.6 kB / 16.26 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.62/1.62, allocations: 292.3 MB / 0.5486 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 64.11 kB / 0.6711 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1766, allocations: 114.6 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001841/0.1785, allocations: 0.906 MB / 0.7839 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/0.1786, allocations: 47.7 kB / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.1786, allocations: 4 kB / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.1787, allocations: 3.938 kB / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.1788, allocations: 7.938 kB / 0.7839 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.085e-05/0.1788, allocations: 19.98 kB / 0.7839 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.498e-05/0.1789, allocations: 67.84 kB / 0.784 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.179, allocations: 33.39 kB / 0.784 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.073e-05/0.1791, allocations: 39.73 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.1791, allocations: 31.84 kB / 0.7841 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1792, allocations: 8 kB / 0.7841 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.1792, allocations: 8 kB / 0.7841 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.1792, allocations: 15.92 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.1792, allocations: 39.73 kB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.773e-05/0.1793, allocations: 83.91 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1793, allocations: 0 / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1794, allocations: 0 / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.1794, allocations: 0 / 0.7843 GB, free: 12.52 MB / 0.6075 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.0003706/0.1797, allocations: 391.1 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1798, allocations: 8.031 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.1798, allocations: 38.75 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.1798, allocations: 12.75 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.18, allocations: 196.1 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.18, allocations: 8.375 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1801, allocations: 4.375 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1802, allocations: 103.9 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1802, allocations: 3.938 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1802, allocations: 8 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1802, allocations: 3.938 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.349e-05/0.1803, allocations: 39.92 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.1808, allocations: 453.6 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/0.1808, allocations: 33.22 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.1809, allocations: 21.77 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.1809, allocations: 0 / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.1809, allocations: 38.59 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1809, allocations: 4 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001517/0.1811, allocations: 61.48 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.1811, allocations: 77.11 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1813, allocations: 175.2 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.1813, allocations: 25.7 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.1813, allocations: 116 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.1813, allocations: 3.906 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1814, allocations: 21.97 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1815, allocations: 318.8 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.1815, allocations: 4 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/0.1815, allocations: 21.72 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.95e-05/0.1816, allocations: 29.66 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1816, allocations: 3.984 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.695e-05/0.1817, allocations: 61.61 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1817, allocations: 7.938 kB / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.1817, allocations: 0 / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1817, allocations: 4 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.1818, allocations: 4 kB / 0.7865 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1818, allocations: 7.922 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.1818, allocations: 7.906 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.1818, allocations: 0 / 0.7865 GB, free: 9.973 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.455e-05/0.1819, allocations: 121.8 kB / 0.7866 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.182, allocations: 11.84 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.182, allocations: 12.56 kB / 0.7866 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.182, allocations: 0 / 0.7866 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.182, allocations: 4 kB / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.182, allocations: 3.984 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.1824, allocations: 470.8 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1824, allocations: 12 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.1824, allocations: 0 / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1824, allocations: 4 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.1824, allocations: 0 / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1824, allocations: 0 / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1824, allocations: 3.984 kB / 0.7871 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.1825, allocations: 89.72 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.1826, allocations: 96.94 kB / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.1826, allocations: 4 kB / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.1826, allocations: 0 / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.1827, allocations: 0 / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1827, allocations: 4 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.471e-05/0.1827, allocations: 120 kB / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1828, allocations: 0 / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001798/0.1829, allocations: 12 kB / 0.7874 GB, free: 8.91 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00032/0.1833, allocations: 0.6209 MB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.957e-05/0.1833, allocations: 19.98 kB / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1833, allocations: 0 / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.43e-05/0.1834, allocations: 8.156 kB / 0.788 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1835, allocations: 12.06 kB / 0.788 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1846, allocations: 1.394 MB / 0.7894 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1848, allocations: 0.6924 MB / 0.7901 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.391e-05/0.1848, allocations: 12.59 kB / 0.7901 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.1849, allocations: 23.44 kB / 0.7901 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of SimCode: time 1.533e-06/0.1849, allocations: 0 / 0.7901 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2702/0.4551, allocations: 1.581 MB / 0.7917 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.4553, allocations: 199.8 kB / 0.7918 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.044, allocations: 7.938 kB / 0.7919 GB, free: 4.262 MB / 0.6075 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/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)