Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",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.0008977/0.0008978, 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.005773/0.005773, allocations: 169 kB / 16.26 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.233/1.233, allocations: 205.4 MB / 222.5 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.575/1.575, 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.0004664/0.0004665, allocations: 15.38 kB / 0.6744 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1705, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.0008154/0.1714, allocations: 0.5633 MB / 0.7886 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001026/0.1715, allocations: 47.77 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.1716, allocations: 0 / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.1716, allocations: 3.938 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.828e-05/0.1717, allocations: 11.92 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.558e-05/0.1717, allocations: 12 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.491e-05/0.1718, allocations: 71.77 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1719, allocations: 37.39 kB / 0.7887 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.172, allocations: 19.8 kB / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.1e-05/0.172, allocations: 23.86 kB / 0.7888 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.172, allocations: 4 kB / 0.7888 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-06/0.172, allocations: 4 kB / 0.7888 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.1721, allocations: 11.88 kB / 0.7888 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.1721, allocations: 57.44 kB / 0.7888 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.066e-05/0.1722, allocations: 75.89 kB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1722, allocations: 3.938 kB / 0.7889 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1722, allocations: 0 / 0.7889 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.1722, allocations: 0 / 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.0003142/0.1725, allocations: 379.2 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.1726, allocations: 12.03 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.1726, allocations: 42.75 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.1726, allocations: 8.844 kB / 0.7893 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.1728, allocations: 198.4 kB / 0.7895 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1728, allocations: 12.28 kB / 0.7895 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.1728, allocations: 4.375 kB / 0.7895 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.173, allocations: 90.61 kB / 0.7896 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.173, allocations: 3.938 kB / 0.7896 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.173, allocations: 12 kB / 0.7896 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.173, allocations: 0 / 0.7896 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.423e-05/0.1731, allocations: 39.92 kB / 0.7897 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.1735, allocations: 452.5 kB / 0.7901 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.674e-05/0.1736, allocations: 46.31 kB / 0.7902 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.1736, allocations: 21.77 kB / 0.7902 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.1736, allocations: 0 / 0.7902 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.1737, allocations: 30.56 kB / 0.7902 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.1737, allocations: 0 / 0.7902 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001431/0.1738, allocations: 65.58 kB / 0.7903 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.1738, allocations: 77.11 kB / 0.7903 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.174, allocations: 171.3 kB / 0.7905 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.174, allocations: 25.7 kB / 0.7905 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.1741, allocations: 112 kB / 0.7906 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-06/0.1741, allocations: 3.906 kB / 0.7906 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.1741, allocations: 9.719 kB / 0.7907 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.1742, allocations: 326.8 kB / 0.791 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.1742, allocations: 8.156 kB / 0.791 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.1742, allocations: 21.66 kB / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.888e-05/0.1743, allocations: 29.72 kB / 0.791 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1743, allocations: 0 / 0.791 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.628e-05/0.1744, allocations: 57.53 kB / 0.7911 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1744, allocations: 11.94 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.1744, allocations: 4.062 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.1744, allocations: 0 / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.286e-05/0.1745, allocations: 4 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.1745, allocations: 4 kB / 0.7911 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.1745, allocations: 11.89 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1745, allocations: 7.938 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.896e-05/0.1746, allocations: 117.8 kB / 0.7912 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.1746, allocations: 15.92 kB / 0.7912 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.1747, allocations: 12.56 kB / 0.7913 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1747, allocations: 4 kB / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1747, allocations: 0 / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.1747, allocations: 0 / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.175, allocations: 478.8 kB / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.175, allocations: 0 / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.1751, allocations: 7.938 kB / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1751, allocations: 3.938 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.1751, allocations: 4.062 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1751, allocations: 0 / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.1751, allocations: 4 kB / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.95e-05/0.1752, allocations: 85.73 kB / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.1752, allocations: 89 kB / 0.7919 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1752, allocations: 4 kB / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.277e-05/0.1753, allocations: 32 / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.1753, allocations: 8 kB / 0.7919 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.1753, allocations: 0 / 0.7919 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.642e-05/0.1754, allocations: 128 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1754, allocations: 0 / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001854/0.1756, 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.0002872/0.1759, allocations: 0.6209 MB / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.895e-05/0.1759, allocations: 15.94 kB / 0.7927 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1759, allocations: 4 kB / 0.7927 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.397e-05/0.176, allocations: 11.98 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.000139/0.1761, allocations: 8 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.000986/0.1771, 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.0001923/0.1773, allocations: 0.6965 MB / 0.7947 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.038e-05/0.1773, 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.477e-05/0.1774, allocations: 23.44 kB / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of SimCode: time 1.603e-06/0.1774, allocations: 0 / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4806/0.658, allocations: 1.468 MB / 0.7962 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.6582, allocations: 202.4 kB / 0.7964 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.239, allocations: 0 / 0.7964 GB, free: 2.426 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1)