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.462/1.462, allocations: 251.9 MB / 266.9 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.001793/0.001793, allocations: 187.4 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.215/2.215, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0009594/0.0009594, allocations: 106.2 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003637, allocations: 15.98 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.231, allocations: 106.3 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/0.4211, allocations: 131.4 MB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.4214, allocations: 79.94 kB / 1.029 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002897/0.4243, allocations: 1.153 MB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.444e-06/0.4243, allocations: 3.938 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.4243, allocations: 4.219 kB / 1.03 GB, free: 11.35 MB / 0.6823 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.0004133/0.4248, allocations: 386.9 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.4248, allocations: 8.031 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.4249, allocations: 38.56 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.4249, allocations: 15.75 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.4251, allocations: 184.6 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.4251, allocations: 8 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.4251, allocations: 8 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.4254, allocations: 91.33 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.4254, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4254, allocations: 4 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.4254, allocations: 4 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.799e-05/0.4255, allocations: 35.98 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.4261, allocations: 456.5 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.59e-05/0.4262, allocations: 45.14 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.537e-06/0.4262, allocations: 128 / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.4263, allocations: 38.59 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4263, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001974/0.4265, allocations: 57.55 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.4265, allocations: 77.36 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.4267, allocations: 165.2 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.4267, allocations: 25.7 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.4268, allocations: 104 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.4268, allocations: 11.84 kB / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4269, allocations: 0 / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.427, allocations: 319.6 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.427, allocations: 8 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.4271, allocations: 25.7 kB / 1.032 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.467e-05/0.4271, allocations: 12 kB / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4271, allocations: 3.953 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001143/0.4273, allocations: 61.55 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4273, allocations: 4 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4273, allocations: 4 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4273, allocations: 0 / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.4274, allocations: 7.984 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4274, allocations: 0 / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.4275, allocations: 15.91 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.4275, allocations: 0 / 1.032 GB, free: 8.914 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.356e-05/0.4276, allocations: 117.8 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.4276, allocations: 15.8 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.4276, allocations: 16.55 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.4277, allocations: 0 / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4277, allocations: 4.094 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4277, allocations: 3.984 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.4282, allocations: 482.8 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4282, allocations: 4 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.4282, allocations: 7.984 kB / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.4282, allocations: 4 kB / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4282, allocations: 0 / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4282, allocations: 0 / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4282, allocations: 0 / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.4284, allocations: 95.64 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.4285, allocations: 89 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.4285, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.401e-05/0.4285, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.4285, allocations: 3.938 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.4285, allocations: 4 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001023/0.4286, allocations: 132.9 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4287, allocations: 0 / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001904/0.4288, allocations: 15.84 kB / 1.033 GB, free: 7.82 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004131/0.4293, allocations: 0.6993 MB / 1.033 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.023e-05/0.4294, allocations: 19.94 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4294, allocations: 0 / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.4294, allocations: 4 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.4295, allocations: 9.562 kB / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.4304, allocations: 0.7495 MB / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.4308, allocations: 0.7082 MB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.4308, allocations: 4.438 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.4309, allocations: 27.42 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.4309, allocations: 0 / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.4448, allocations: 1.583 MB / 1.036 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/0.4452, allocations: 187.9 kB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/1.988, allocations: 0 / 1.037 GB, free: 3.828 MB / 0.6823 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)