Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.437/1.437, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001146/0.001146, allocations: 181 kB / 326.5 MB, free: 2.25 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.04/2.04, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001037/0.001037, allocations: 101.9 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 12.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2245, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.143/0.3675, allocations: 125.4 MB / 1.023 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.004405/0.372, allocations: 3.972 MB / 1.027 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000351/0.3724, allocations: 11.88 kB / 1.027 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3727, allocations: 55.62 kB / 1.027 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.3732, allocations: 127.6 kB / 1.027 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.3734, allocations: 43.95 kB / 1.027 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.3738, allocations: 247.4 kB / 1.027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.3741, allocations: 110.4 kB / 1.027 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.3743, allocations: 79.66 kB / 1.027 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.3745, allocations: 115.5 kB / 1.027 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.3745, allocations: 4 kB / 1.027 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.109e-05/0.3745, allocations: 4 kB / 1.027 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.057e-05/0.3746, allocations: 43.84 kB / 1.027 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.936e-05/0.3747, allocations: 61.58 kB / 1.027 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.3749, allocations: 167.8 kB / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.3749, allocations: 0 / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3749, allocations: 4 kB / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3749, allocations: 4 kB / 1.028 GB, free: 13.07 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004623/0.3754, allocations: 439.2 kB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3754, allocations: 8.031 kB / 1.028 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.704e-05/0.3755, allocations: 58.53 kB / 1.028 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.3755, allocations: 31.62 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.3759, allocations: 248.7 kB / 1.028 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.3759, allocations: 16.44 kB / 1.028 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.3759, allocations: 20 kB / 1.028 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.3764, allocations: 304.8 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3764, allocations: 7.938 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.3764, allocations: 8 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3764, allocations: 4 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.3767, allocations: 123.8 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.3781, allocations: 1.977 MB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.3782, allocations: 173.1 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.911e-05/0.3783, allocations: 75.28 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/0.3783, allocations: 109.8 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3783, allocations: 0 / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001046/0.3785, allocations: 53.42 kB / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/0.3786, allocations: 126.7 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.3789, allocations: 328.5 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.379, allocations: 25.7 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.3791, allocations: 159.7 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.3791, allocations: 4 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.3791, allocations: 3.938 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3793, allocations: 338.8 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.3793, allocations: 11.98 kB / 1.032 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.405e-05/0.3794, allocations: 54.81 kB / 1.032 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.919e-05/0.3794, allocations: 16 kB / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3795, allocations: 4 kB / 1.032 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002191/0.3797, allocations: 105.2 kB / 1.032 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.3797, allocations: 8 kB / 1.032 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3797, allocations: 0 / 1.032 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3798, allocations: 4.25 kB / 1.032 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.3799, allocations: 16 kB / 1.032 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.3799, allocations: 7.922 kB / 1.032 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.38, allocations: 27.59 kB / 1.032 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.38, allocations: 4 kB / 1.032 GB, free: 7.879 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 0.0001517/0.3801, allocations: 221 kB / 1.032 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.3802, allocations: 116.8 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.3803, allocations: 134 kB / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-05/0.3804, allocations: 180.3 kB / 1.033 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.976e-05/0.3804, allocations: 184.2 kB / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.08e-05/0.3805, allocations: 176.3 kB / 1.033 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.3808, allocations: 481.1 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.353e-05/0.3809, allocations: 108.9 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.3809, allocations: 105 kB / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.726e-05/0.381, allocations: 192.2 kB / 1.034 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.75e-05/0.3811, allocations: 176.3 kB / 1.034 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.131e-05/0.3811, allocations: 176.3 kB / 1.034 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.517e-05/0.3812, allocations: 180.2 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.3814, allocations: 343.4 kB / 1.035 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.3815, allocations: 201.8 kB / 1.035 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.585e-05/0.3816, allocations: 184.2 kB / 1.035 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3817, allocations: 101 kB / 1.035 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.3818, allocations: 180.3 kB / 1.036 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.3819, allocations: 108.9 kB / 1.036 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002235/0.3821, allocations: 235 kB / 1.036 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3821, allocations: 0 / 1.036 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000265/0.3824, allocations: 28 kB / 1.036 GB, free: 3.922 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0004533/0.3828, allocations: 0.8358 MB / 1.037 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.985e-05/0.3829, allocations: 23.86 kB / 1.037 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3829, allocations: 0 / 1.037 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3829, allocations: 0 / 1.037 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.3836, allocations: 0.596 MB / 1.037 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.3857, allocations: 2.323 MB / 1.04 GB, free: 36 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3861, allocations: 0.7521 MB / 1.04 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.3862, allocations: 22.3 kB / 1.04 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.3863, allocations: 67.41 kB / 1.04 GB, free: 15.17 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.3863, allocations: 0 / 1.04 GB, free: 15.17 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.4016, allocations: 4.451 MB / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.4018, allocations: 208 kB / 1.045 GB, free: 10.67 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.172, allocations: 0 / 1.045 GB, free: 10.67 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)