Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",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.0008565/0.0008565, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004938/0.004938, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.248/1.248, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.597/1.597, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004787/0.0004788, allocations: 16.69 kB / 0.6744 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1827, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.000868/0.1836, allocations: 0.5672 MB / 0.7885 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001049/0.1837, allocations: 47.72 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.1837, allocations: 0 / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.1838, allocations: 7.922 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.1839, allocations: 3.938 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.981e-05/0.1839, allocations: 19.98 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.181e-05/0.184, allocations: 63.84 kB / 0.7887 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1841, allocations: 41.38 kB / 0.7887 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.1842, allocations: 19.81 kB / 0.7887 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.1842, allocations: 23.8 kB / 0.7888 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.1842, allocations: 8 kB / 0.7888 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-06/0.1843, allocations: 0 / 0.7888 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.1843, allocations: 11.92 kB / 0.7888 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.1843, allocations: 53.45 kB / 0.7888 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.414e-05/0.1844, allocations: 79.89 kB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1844, allocations: 0 / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1844, allocations: 0 / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.1844, allocations: 0 / 0.7889 GB, free: 10.54 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.0003352/0.1848, allocations: 371.2 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1848, allocations: 16.03 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.972e-05/0.1849, allocations: 38.69 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.1849, allocations: 12.84 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.1851, allocations: 200.1 kB / 0.7895 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-06/0.1851, allocations: 384 / 0.7895 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.1851, allocations: 12.38 kB / 0.7895 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1852, allocations: 98.45 kB / 0.7896 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1852, allocations: 3.938 kB / 0.7896 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1853, allocations: 7.984 kB / 0.7896 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1853, allocations: 8 kB / 0.7896 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/0.1853, allocations: 35.98 kB / 0.7897 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.1858, allocations: 448.5 kB / 0.7901 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.321e-05/0.1859, allocations: 50.28 kB / 0.7902 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.1859, allocations: 9.719 kB / 0.7902 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.1859, allocations: 8 kB / 0.7902 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.186, allocations: 38.59 kB / 0.7902 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.186, allocations: 0 / 0.7902 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001489/0.1861, allocations: 61.7 kB / 0.7903 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.1862, allocations: 81.09 kB / 0.7903 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1863, allocations: 167.3 kB / 0.7905 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1863, allocations: 25.7 kB / 0.7905 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.1864, allocations: 108 kB / 0.7906 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.756e-06/0.1864, allocations: 11.91 kB / 0.7906 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.1864, allocations: 9.719 kB / 0.7907 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.1865, allocations: 322.8 kB / 0.791 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.1865, allocations: 12.03 kB / 0.791 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.05e-05/0.1866, allocations: 13.72 kB / 0.791 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.1866, allocations: 33.64 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1866, allocations: 0 / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.284e-05/0.1867, allocations: 57.61 kB / 0.7911 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1867, allocations: 11.94 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1867, allocations: 4.062 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.1867, allocations: 0 / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/0.1868, allocations: 11.92 kB / 0.7911 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1868, allocations: 4 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.1869, allocations: 3.906 kB / 0.7911 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.1869, allocations: 0 / 0.7911 GB, free: 8.016 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.304e-05/0.1869, allocations: 117.8 kB / 0.7912 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.187, allocations: 11.84 kB / 0.7912 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.187, allocations: 16.55 kB / 0.7912 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.187, allocations: 12.08 kB / 0.7913 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.187, allocations: 3.938 kB / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.187, allocations: 0 / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.1874, allocations: 474.8 kB / 0.7917 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1874, allocations: 0 / 0.7917 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.1874, allocations: 4 kB / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1874, allocations: 0 / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.1874, allocations: 4.047 kB / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1875, allocations: 4 kB / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1875, allocations: 3.938 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.755e-05/0.1875, allocations: 89.69 kB / 0.7918 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.1876, allocations: 93 kB / 0.7919 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.1876, allocations: 0 / 0.7919 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.243e-05/0.1876, allocations: 0 / 0.7919 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.1877, allocations: 4.031 kB / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.1877, allocations: 4 kB / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.892e-05/0.1878, allocations: 120 kB / 0.792 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1878, allocations: 0 / 0.792 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001752/0.1879, allocations: 12 kB / 0.792 GB, free: 6.949 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.0003038/0.1883, allocations: 0.6209 MB / 0.7926 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.163e-05/0.1883, allocations: 19.98 kB / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1883, allocations: 0 / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.365e-05/0.1883, allocations: 11.94 kB / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.1885, allocations: 6.953 kB / 0.7927 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1895, allocations: 1.393 MB / 0.794 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.1898, allocations: 0.6965 MB / 0.7947 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.927e-05/0.1898, allocations: 8.422 kB / 0.7947 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.1898, allocations: 27.42 kB / 0.7948 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.1898, allocations: 3.938 kB / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00983/0.1997, allocations: 1.466 MB / 0.7962 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.1999, allocations: 204.6 kB / 0.7964 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.817, allocations: 3.656 kB / 0.7964 GB, free: 2.426 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1)