Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_cfm,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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.374/1.374, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.0009547/0.0009545, allocations: 182.6 kB / 325.8 MB, free: 2.664 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.338/1.338, allocations: 205 MB / 0.576 GB, free: 20.95 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.0007031/0.0007033, allocations: 87.98 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.000287, allocations: 10.84 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1478, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001041/0.1489, allocations: 0.5998 MB / 0.8968 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001285/0.1491, allocations: 47.72 kB / 0.8968 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1491, allocations: 0 / 0.8968 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.1492, allocations: 7.922 kB / 0.8968 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.266e-05/0.1493, allocations: 3.938 kB / 0.8968 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.471e-05/0.1494, allocations: 19.98 kB / 0.8969 GB, free: 67.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.1495, allocations: 63.84 kB / 0.8969 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1496, allocations: 37.61 kB / 0.897 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.1496, allocations: 19.81 kB / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.1497, allocations: 23.8 kB / 0.897 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1497, allocations: 4 kB / 0.897 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-06/0.1497, allocations: 4 kB / 0.897 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.1498, allocations: 19.91 kB / 0.897 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.1498, allocations: 23.75 kB / 0.8971 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.701e-05/0.1499, allocations: 67.75 kB / 0.8971 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1499, allocations: 0 / 0.8971 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1499, allocations: 0 / 0.8971 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1499, allocations: 3.938 kB / 0.8971 GB, free: 67.08 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.0003204/0.1502, allocations: 371.3 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1503, allocations: 16.03 kB / 0.8975 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.1503, allocations: 34.75 kB / 0.8975 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.1504, allocations: 16.75 kB / 0.8975 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1505, allocations: 201.2 kB / 0.8977 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.1505, allocations: 8.312 kB / 0.8977 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1506, allocations: 8.375 kB / 0.8977 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1507, allocations: 95.36 kB / 0.8978 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1507, allocations: 7.922 kB / 0.8978 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1507, allocations: 8 kB / 0.8979 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.1507, allocations: 4 kB / 0.8979 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.1508, allocations: 35.98 kB / 0.8979 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.1512, allocations: 444.5 kB / 0.8983 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.261e-05/0.1513, allocations: 37.16 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.1513, allocations: 17.84 kB / 0.8984 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.1513, allocations: 0 / 0.8984 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.1514, allocations: 38.59 kB / 0.8984 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1514, allocations: 0 / 0.8984 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001558/0.1515, allocations: 65.72 kB / 0.8985 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.1516, allocations: 81.11 kB / 0.8985 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1517, allocations: 166.2 kB / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.1517, allocations: 25.7 kB / 0.8987 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.1517, allocations: 111.9 kB / 0.8988 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-06/0.1518, allocations: 7.906 kB / 0.8988 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.1518, allocations: 13.72 kB / 0.8989 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.1518, allocations: 326.8 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.1519, allocations: 4 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.976e-05/0.1519, allocations: 25.7 kB / 0.8992 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.1519, allocations: 29.66 kB / 0.8992 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1519, allocations: 0 / 0.8992 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.579e-05/0.152, allocations: 53.7 kB / 0.8993 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.152, allocations: 7.938 kB / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.152, allocations: 4.062 kB / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1521, allocations: 7.984 kB / 0.8993 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.1521, allocations: 19.86 kB / 0.8993 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1521, allocations: 7.984 kB / 0.8993 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.1522, allocations: 7.938 kB / 0.8993 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1522, allocations: 0 / 0.8993 GB, free: 64.55 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 5.603e-05/0.1523, allocations: 113.8 kB / 0.8994 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.1523, allocations: 15.75 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.1523, allocations: 16.55 kB / 0.8995 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1523, allocations: 4 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1523, allocations: 4 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1523, allocations: 0 / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.1526, allocations: 478.8 kB / 0.8999 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1526, allocations: 3.938 kB / 0.8999 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.1527, allocations: 0 / 0.8999 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1527, allocations: 7.984 kB / 0.8999 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.1527, allocations: 0 / 0.8999 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1527, allocations: 4.062 kB / 0.8999 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1527, allocations: 0 / 0.8999 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.376e-05/0.1528, allocations: 85.78 kB / 0.9 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.1528, allocations: 89 kB / 0.9001 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1528, allocations: 0 / 0.9001 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.246e-05/0.1528, allocations: 0 / 0.9001 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.1529, allocations: 8.031 kB / 0.9001 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1529, allocations: 4 kB / 0.9001 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.235e-05/0.1529, allocations: 120.9 kB / 0.9002 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1529, allocations: 0 / 0.9002 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001768/0.1531, allocations: 11.98 kB / 0.9003 GB, free: 63.49 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.0002494/0.1534, allocations: 0.6209 MB / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.892e-05/0.1535, allocations: 23.98 kB / 0.9009 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1535, allocations: 0 / 0.9009 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-05/0.1535, allocations: 7.938 kB / 0.9009 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1536, allocations: 9.719 kB / 0.9009 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/0.1545, allocations: 1.396 MB / 0.9023 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.1547, allocations: 0.6965 MB / 0.9029 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.1547, allocations: 8.422 kB / 0.9029 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.1547, allocations: 27.36 kB / 0.903 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1547, allocations: 0 / 0.903 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06801/0.2228, allocations: 1.478 MB / 0.9044 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.223, allocations: 219.4 kB / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/1.7, allocations: 2.109 kB / 0.9046 GB, free: 58.99 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)