Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001114/0.001114, 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.001116/0.001116, allocations: 190.2 kB / 16.14 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.157/1.157, allocations: 205.1 MB / 222 MB, free: 4.742 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.621/1.621, 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.001372/0.001372, allocations: 66.91 kB / 0.6709 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.178, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002078/0.1802, allocations: 0.9089 MB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001191/0.1803, allocations: 47.77 kB / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.1804, allocations: 4 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.112e-05/0.1804, allocations: 7.938 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.848e-05/0.1805, allocations: 7.875 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.136e-05/0.1806, allocations: 19.98 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.27e-05/0.1807, allocations: 59.84 kB / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1808, allocations: 37.39 kB / 0.7839 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.1809, allocations: 35.72 kB / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.1809, allocations: 31.84 kB / 0.7839 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1809, allocations: 4 kB / 0.7839 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.181, allocations: 4 kB / 0.7839 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.181, allocations: 15.94 kB / 0.7839 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.181, allocations: 31.73 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.698e-05/0.1811, allocations: 83.91 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1811, allocations: 0 / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.72e-07/0.1811, allocations: 4 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1812, allocations: 0 / 0.7841 GB, free: 12.64 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.0004095/0.1816, allocations: 387.2 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1816, allocations: 8.031 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.1817, allocations: 38.75 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.1817, allocations: 12.75 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.1819, allocations: 200.1 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1819, allocations: 12.38 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1819, allocations: 12.38 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1821, allocations: 87.95 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1821, allocations: 11.88 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1821, allocations: 4 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1821, allocations: 0 / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.1822, allocations: 35.98 kB / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.1827, allocations: 457.7 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.324e-05/0.1827, allocations: 41.14 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.1828, allocations: 17.78 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.1828, allocations: 3.938 kB / 0.7853 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.1828, allocations: 38.5 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1828, allocations: 0 / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.00016/0.183, allocations: 57.55 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.183, allocations: 81.05 kB / 0.7855 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1832, allocations: 175.2 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1832, allocations: 25.7 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.1833, allocations: 116.2 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/0.1833, allocations: 3.906 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.1833, allocations: 17.72 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.1834, allocations: 322.8 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.1834, allocations: 0 / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.1835, allocations: 21.72 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.1835, allocations: 33.7 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1835, allocations: 0 / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.461e-05/0.1836, allocations: 61.55 kB / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1836, allocations: 7.938 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1836, allocations: 4 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.1837, allocations: 0 / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.1837, allocations: 7.984 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1837, allocations: 0 / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.1838, allocations: 7.906 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1838, allocations: 8 kB / 0.7863 GB, free: 10.09 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.553e-05/0.1838, allocations: 117.8 kB / 0.7864 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.1839, allocations: 11.84 kB / 0.7864 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.1839, allocations: 12.56 kB / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1839, allocations: 0 / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1839, allocations: 7.984 kB / 0.7864 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1839, allocations: 0 / 0.7864 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.1843, allocations: 478.8 kB / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1843, allocations: 0 / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.1843, allocations: 0 / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1844, allocations: 7.938 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.1844, allocations: 0 / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1844, allocations: 3.984 kB / 0.7869 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1844, allocations: 0 / 0.7869 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.302e-05/0.1845, allocations: 89.84 kB / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.1845, allocations: 96.91 kB / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.1845, allocations: 4 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.1846, allocations: 0 / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.1846, allocations: 0 / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1846, allocations: 4 kB / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.363e-05/0.1847, allocations: 123.9 kB / 0.7872 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1847, allocations: 0 / 0.7872 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001848/0.1849, allocations: 16.03 kB / 0.7872 GB, free: 9.027 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.0003175/0.1852, allocations: 0.6132 MB / 0.7878 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.662e-05/0.1853, allocations: 24.02 kB / 0.7878 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1853, allocations: 4.062 kB / 0.7878 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.1853, allocations: 4 kB / 0.7878 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.1855, allocations: 11.94 kB / 0.7878 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1866, allocations: 1.396 MB / 0.7892 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.1868, allocations: 0.6928 MB / 0.7899 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.1868, allocations: 16.41 kB / 0.7899 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.1869, allocations: 19.44 kB / 0.7899 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.1869, allocations: 8 kB / 0.7899 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.2066, allocations: 1.525 MB / 0.7914 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.2068, allocations: 202.6 kB / 0.7916 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.823, allocations: 0 / 0.7916 GB, free: 4.414 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1)