Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.From_inH2O,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001525/0.001525, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.292/1.292, allocations: 205.1 MB / 222 MB, free: 4.977 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.579/1.579, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001377/0.001377, allocations: 65.83 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.182, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002001/0.184, allocations: 0.9054 MB / 0.7837 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 9.776e-05/0.1841, allocations: 47.78 kB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.1842, allocations: 0 / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.1842, allocations: 7.922 kB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.1843, allocations: 7.938 kB / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.156e-05/0.1844, allocations: 19.98 kB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.356e-05/0.1845, allocations: 67.78 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1846, allocations: 33.38 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.1846, allocations: 27.88 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.1847, allocations: 31.78 kB / 0.7839 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1847, allocations: 4 kB / 0.7839 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.1847, allocations: 4 kB / 0.7839 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.1847, allocations: 23.86 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.1848, allocations: 31.73 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.183e-05/0.1849, allocations: 83.91 kB / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1849, allocations: 0 / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.02e-07/0.1849, allocations: 0 / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.1849, allocations: 3.938 kB / 0.7841 GB, free: 12.62 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.0003659/0.1853, allocations: 391.1 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1853, allocations: 8.031 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.1854, allocations: 42.73 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.1854, allocations: 8.844 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1856, allocations: 192.2 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1856, allocations: 12.36 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.1856, allocations: 4.375 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1857, allocations: 103.9 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1857, allocations: 3.938 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1858, allocations: 4 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1858, allocations: 3.984 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.1858, allocations: 43.92 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.1863, allocations: 445.6 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.209e-05/0.1864, allocations: 37.34 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.1864, allocations: 21.72 kB / 0.7853 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.1864, allocations: 0 / 0.7853 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.1864, allocations: 30.56 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1865, allocations: 4 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001567/0.1866, allocations: 69.38 kB / 0.7854 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.1867, allocations: 77.11 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1868, allocations: 167.3 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.1868, allocations: 29.7 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.1869, allocations: 108 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-06/0.1869, allocations: 3.906 kB / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.1869, allocations: 25.95 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.187, allocations: 318.8 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.187, allocations: 15.92 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.1871, allocations: 13.72 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.1871, allocations: 25.72 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1871, allocations: 4 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.997e-05/0.1872, allocations: 65.53 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1872, allocations: 11.94 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1872, allocations: 0 / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.1872, allocations: 0 / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.1873, allocations: 4 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1873, allocations: 8 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.1874, allocations: 3.906 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.1874, allocations: 0 / 0.7863 GB, free: 10.08 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.576e-05/0.1874, allocations: 125.8 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.1875, allocations: 19.78 kB / 0.7864 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.1875, allocations: 8.562 kB / 0.7864 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1875, allocations: 4 kB / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1875, allocations: 0 / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1875, allocations: 0 / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.1879, allocations: 478.8 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1879, allocations: 0 / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.1879, allocations: 12 kB / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1879, allocations: 0 / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1879, allocations: 0 / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1879, allocations: 3.938 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.188, allocations: 0 / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.342e-05/0.188, allocations: 89.73 kB / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.1881, allocations: 93.05 kB / 0.7871 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1881, allocations: 3.984 kB / 0.7871 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.387e-05/0.1881, allocations: 0 / 0.7871 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.1882, allocations: 4 kB / 0.7871 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.1882, allocations: 0 / 0.7871 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.139e-05/0.1882, allocations: 124 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1882, allocations: 7.938 kB / 0.7872 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001783/0.1884, allocations: 4 kB / 0.7872 GB, free: 9.012 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.0002979/0.1887, allocations: 0.621 MB / 0.7878 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.713e-05/0.1888, allocations: 15.94 kB / 0.7878 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1888, allocations: 4 kB / 0.7878 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.1888, allocations: 4.219 kB / 0.7878 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.189, allocations: 16.05 kB / 0.7878 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.19, allocations: 1.388 MB / 0.7892 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.1902, allocations: 0.6965 MB / 0.7899 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.1903, allocations: 12.36 kB / 0.7899 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.1903, allocations: 23.44 kB / 0.7899 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.1903, allocations: 0 / 0.7899 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009528/0.1999, allocations: 1.527 MB / 0.7914 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.2, allocations: 212.5 kB / 0.7916 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/1.755, allocations: 4 kB / 0.7916 GB, free: 4.398 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1)