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.0008639/0.0008642, allocations: 97.64 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.004616/0.004616, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.16/1.16, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.501/1.501, 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.0004672/0.0004673, allocations: 19.06 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1686, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.0008163/0.1694, allocations: 0.5672 MB / 0.7885 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001056/0.1695, allocations: 47.78 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.1696, allocations: 0 / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.1696, allocations: 11.81 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.732e-05/0.1697, allocations: 11.92 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.908e-05/0.1697, allocations: 15.98 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.1698, allocations: 59.86 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1699, allocations: 49.36 kB / 0.7887 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.351e-05/0.17, allocations: 15.81 kB / 0.7888 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.17, allocations: 27.8 kB / 0.7888 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1701, allocations: 0 / 0.7888 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.144e-06/0.1701, allocations: 4 kB / 0.7888 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.1701, allocations: 11.92 kB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.1701, allocations: 53.45 kB / 0.7888 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.993e-05/0.1702, allocations: 75.89 kB / 0.7889 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1702, allocations: 0 / 0.7889 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1702, allocations: 0 / 0.7889 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.1702, allocations: 4 kB / 0.7889 GB, free: 10.53 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.0003081/0.1706, allocations: 379.2 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1706, allocations: 8.031 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.1706, allocations: 38.75 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.211e-05/0.1707, allocations: 8.844 kB / 0.7893 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1708, allocations: 199.5 kB / 0.7895 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.1708, allocations: 8.281 kB / 0.7895 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1708, allocations: 8.375 kB / 0.7895 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.171, allocations: 95.08 kB / 0.7896 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.171, allocations: 7.875 kB / 0.7896 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.171, allocations: 8 kB / 0.7896 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.171, allocations: 0 / 0.7896 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.815e-05/0.1711, allocations: 39.97 kB / 0.7897 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.1715, allocations: 448.6 kB / 0.7901 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.1716, allocations: 50.2 kB / 0.7902 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.1716, allocations: 17.78 kB / 0.7902 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-06/0.1716, allocations: 0 / 0.7902 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1716, allocations: 38.5 kB / 0.7902 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.1717, allocations: 0 / 0.7902 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001385/0.1718, allocations: 53.55 kB / 0.7903 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.1718, allocations: 85.05 kB / 0.7903 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.172, allocations: 171.3 kB / 0.7905 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.172, allocations: 25.7 kB / 0.7905 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.172, allocations: 112.2 kB / 0.7906 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.1721, allocations: 7.906 kB / 0.7906 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.1721, allocations: 13.66 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.1722, allocations: 322.8 kB / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.1722, allocations: 8 kB / 0.791 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.1722, allocations: 17.72 kB / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.1722, allocations: 25.7 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1723, allocations: 11.94 kB / 0.791 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.5e-05/0.1723, allocations: 53.61 kB / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1724, allocations: 11.94 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1724, allocations: 0 / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.1724, allocations: 0 / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-05/0.1724, allocations: 7.984 kB / 0.7911 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.1724, allocations: 7.938 kB / 0.7911 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.1725, allocations: 3.906 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1725, allocations: 8 kB / 0.7911 GB, free: 8.004 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 5.786e-05/0.1726, allocations: 117.8 kB / 0.7912 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.1726, allocations: 15.84 kB / 0.7912 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.1726, allocations: 8.562 kB / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1726, allocations: 8.078 kB / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1726, allocations: 3.984 kB / 0.7913 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.1726, allocations: 0 / 0.7913 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.173, allocations: 482.8 kB / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.173, allocations: 0 / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.173, allocations: 4 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.173, allocations: 0 / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.173, allocations: 3.938 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.173, allocations: 3.984 kB / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.173, allocations: 0 / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.281e-05/0.1731, allocations: 89.75 kB / 0.7918 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.1732, allocations: 93 kB / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.1732, allocations: 0 / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.1732, allocations: 0 / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.1732, allocations: 4 kB / 0.7919 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.1732, allocations: 0 / 0.7919 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.533e-05/0.1733, allocations: 128 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1733, allocations: 0 / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001782/0.1735, allocations: 8 kB / 0.792 GB, free: 6.941 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.0002749/0.1738, allocations: 0.6171 MB / 0.7926 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.826e-05/0.1738, allocations: 19.92 kB / 0.7927 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1738, allocations: 160 / 0.7927 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.261e-05/0.1739, allocations: 16 kB / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.174, allocations: 7.938 kB / 0.7927 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009449/0.175, allocations: 1.389 MB / 0.794 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.1751, allocations: 0.6965 MB / 0.7947 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.1752, allocations: 8.422 kB / 0.7947 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.1752, allocations: 23.44 kB / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1752, allocations: 0 / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.768/3.943, allocations: 1.464 MB / 0.7962 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/3.943, allocations: 206.1 kB / 0.7964 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.052/7.995, allocations: 0 / 0.7964 GB, free: 2.426 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)