Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.00138/0.00138, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001107/0.001107, allocations: 187.2 kB / 16.25 MB, free: 6.637 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.262/1.262, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.611/1.611, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.00148/0.00148, allocations: 64.8 kB / 0.6711 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1795, allocations: 114.6 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001952/0.1815, allocations: 0.9166 MB / 0.7839 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.1817, allocations: 51.72 kB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.1817, allocations: 4 kB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.743e-05/0.1818, allocations: 3.938 kB / 0.7839 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.318e-05/0.1819, allocations: 3.938 kB / 0.7839 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.218e-05/0.1819, allocations: 15.98 kB / 0.7839 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.948e-05/0.182, allocations: 67.84 kB / 0.784 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1821, allocations: 45.33 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.1822, allocations: 27.8 kB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.1822, allocations: 35.84 kB / 0.7841 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1823, allocations: 8 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-06/0.1823, allocations: 4 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.1823, allocations: 19.92 kB / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.1823, allocations: 39.73 kB / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.919e-05/0.1825, allocations: 79.91 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1825, allocations: 4 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1825, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.1825, allocations: 4 kB / 0.7843 GB, free: 12.5 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.0003691/0.1829, allocations: 383.1 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1829, allocations: 12.03 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.1829, allocations: 38.69 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.183, allocations: 16.75 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.1831, allocations: 192.2 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1832, allocations: 8.375 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1832, allocations: 12.38 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1833, allocations: 95.83 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1833, allocations: 3.938 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1834, allocations: 7.984 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1834, allocations: 4 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.321e-05/0.1834, allocations: 39.92 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.1839, allocations: 449.6 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.98e-05/0.184, allocations: 33.28 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.184, allocations: 21.75 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.184, allocations: 8 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.1841, allocations: 30.56 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.1841, allocations: 0 / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000157/0.1842, allocations: 65.47 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.1843, allocations: 81.09 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1844, allocations: 171.2 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1844, allocations: 25.95 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.1845, allocations: 112 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.1845, allocations: 11.89 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.1846, allocations: 17.72 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.1846, allocations: 318.8 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.1847, allocations: 8 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.412e-05/0.1847, allocations: 21.7 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.1847, allocations: 33.66 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1847, allocations: 0 / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.574e-05/0.1849, allocations: 57.61 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1849, allocations: 7.938 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1849, allocations: 0 / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1849, allocations: 7.922 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.185, allocations: 8 kB / 0.7865 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.185, allocations: 0 / 0.7865 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.185, allocations: 11.97 kB / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.185, allocations: 0 / 0.7865 GB, free: 9.953 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.487e-05/0.1851, allocations: 117.8 kB / 0.7866 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.1851, allocations: 11.84 kB / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.1852, allocations: 20.55 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1852, allocations: 0 / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1852, allocations: 0 / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1852, allocations: 0 / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.1856, allocations: 478.8 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1856, allocations: 0 / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.1856, allocations: 11.92 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1856, allocations: 3.938 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1856, allocations: 4 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1856, allocations: 0 / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1856, allocations: 0 / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.815e-05/0.1857, allocations: 85.84 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.1858, allocations: 96.91 kB / 0.7873 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1858, allocations: 4 kB / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.536e-05/0.1858, allocations: 0 / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-06/0.1858, allocations: 0 / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.1859, allocations: 0 / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.186e-05/0.1859, allocations: 127.9 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1859, allocations: 32 / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001884/0.1861, allocations: 16 kB / 0.7874 GB, free: 8.883 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.0003107/0.1865, allocations: 0.617 MB / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.828e-05/0.1865, allocations: 20.03 kB / 0.788 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1865, allocations: 0 / 0.788 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.1866, allocations: 7.938 kB / 0.788 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.1867, allocations: 10.5 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1878, allocations: 1.395 MB / 0.7894 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.188, allocations: 0.6924 MB / 0.7901 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.1881, allocations: 12.42 kB / 0.7901 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.1881, allocations: 27.42 kB / 0.7901 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.1881, allocations: 0 / 0.7901 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009932/0.198, allocations: 1.572 MB / 0.7917 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/0.1982, allocations: 203.8 kB / 0.7919 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.786, allocations: 0 / 0.7919 GB, free: 4.25 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)