Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 180.9 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008983/0.0008985, allocations: 88.36 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003067, allocations: 11.03 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.000854/0.1759, allocations: 0.5959 MB / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001128/0.176, allocations: 55.7 kB / 0.8968 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.1761, allocations: 0 / 0.8968 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.1761, allocations: 3.938 kB / 0.8968 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.1762, allocations: 7.875 kB / 0.8968 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.692e-05/0.1762, allocations: 19.98 kB / 0.8969 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.325e-05/0.1763, allocations: 63.84 kB / 0.8969 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1765, allocations: 41.59 kB / 0.897 GB, free: 67.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.648e-05/0.1765, allocations: 27.8 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.1766, allocations: 19.8 kB / 0.897 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1766, allocations: 4 kB / 0.897 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-06/0.1766, allocations: 0 / 0.897 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.1766, allocations: 11.94 kB / 0.897 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.1766, allocations: 35.73 kB / 0.8971 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.381e-05/0.1767, allocations: 67.73 kB / 0.8971 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1767, allocations: 3.938 kB / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1767, allocations: 0 / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1767, allocations: 0 / 0.8971 GB, free: 67.09 MB / 0.6042 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.0002832/0.177, allocations: 367.3 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1771, allocations: 12.03 kB / 0.8975 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.1771, allocations: 42.67 kB / 0.8975 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.1771, allocations: 16.75 kB / 0.8975 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1773, allocations: 196.2 kB / 0.8977 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1773, allocations: 4.375 kB / 0.8977 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.1773, allocations: 12.38 kB / 0.8977 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1774, allocations: 95.52 kB / 0.8978 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1775, allocations: 3.938 kB / 0.8978 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1775, allocations: 4 kB / 0.8978 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1775, allocations: 4 kB / 0.8978 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.417e-05/0.1775, allocations: 35.98 kB / 0.8979 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.1779, allocations: 452.5 kB / 0.8983 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.855e-05/0.178, allocations: 37.22 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.178, allocations: 17.72 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.178, allocations: 8.094 kB / 0.8984 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.226e-05/0.1781, allocations: 34.55 kB / 0.8984 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1781, allocations: 0 / 0.8984 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000148/0.1782, allocations: 61.48 kB / 0.8985 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.1782, allocations: 77.11 kB / 0.8985 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1784, allocations: 170.4 kB / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.77e-06/0.1784, allocations: 25.7 kB / 0.8987 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.1784, allocations: 111.9 kB / 0.8988 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.153e-06/0.1784, allocations: 11.89 kB / 0.8988 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.1784, allocations: 13.72 kB / 0.8989 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.1785, allocations: 326.8 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.1785, allocations: 7.984 kB / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.73e-05/0.1785, allocations: 17.72 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.429e-05/0.1786, allocations: 33.66 kB / 0.8992 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1786, allocations: 0 / 0.8992 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.854e-05/0.1787, allocations: 57.59 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1787, allocations: 11.94 kB / 0.8993 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1787, allocations: 3.938 kB / 0.8993 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1787, allocations: 0 / 0.8993 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.1788, allocations: 11.94 kB / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1788, allocations: 8.062 kB / 0.8993 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.1788, allocations: 3.938 kB / 0.8993 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.1788, allocations: 0 / 0.8993 GB, free: 64.57 MB / 0.6042 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 4.709e-05/0.1789, allocations: 113.8 kB / 0.8994 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.1789, allocations: 23.73 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.179, allocations: 8.562 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.179, allocations: 4 kB / 0.8995 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.179, allocations: 0 / 0.8995 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.179, allocations: 0 / 0.8995 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.1792, allocations: 482.8 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1793, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.1793, allocations: 4 kB / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1793, allocations: 0 / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1793, allocations: 0 / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1793, allocations: 0 / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1793, allocations: 0 / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.246e-05/0.1794, allocations: 93.83 kB / 0.9 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.1794, allocations: 85.02 kB / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.1795, allocations: 3.984 kB / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.1795, allocations: 96 / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.1795, allocations: 3.984 kB / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1795, allocations: 8 kB / 0.9001 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.196e-05/0.1796, allocations: 124.9 kB / 0.9002 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1796, allocations: 0 / 0.9002 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001679/0.1798, allocations: 8 kB / 0.9002 GB, free: 63.52 MB / 0.6042 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.0002128/0.18, allocations: 0.6208 MB / 0.9008 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.562e-05/0.18, allocations: 24.03 kB / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1801, allocations: 0 / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.1801, allocations: 11.94 kB / 0.9009 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.1802, allocations: 7.938 kB / 0.9009 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.1811, allocations: 1.401 MB / 0.9023 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.992e-05/0.1812, allocations: 0.7004 MB / 0.9029 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.28e-05/0.1812, allocations: 12.42 kB / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.1813, allocations: 19.44 kB / 0.903 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.1813, allocations: 0 / 0.903 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009658/0.1909, allocations: 1.472 MB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001193/0.1911, allocations: 215.4 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.677, allocations: 0 / 0.9046 GB, free: 59.01 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1)