Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.0007447/0.0007449, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008168/0.000817, allocations: 173.5 kB / 16.58 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6253/0.6253, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003017, allocations: 8 kB / 493.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.133, allocations: 77.1 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3666/0.4996, allocations: 134.2 MB / 0.6879 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003906/0.5035, allocations: 4.324 MB / 0.6922 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.5037, allocations: 7.938 kB / 0.6922 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.504, allocations: 115.2 kB / 0.6923 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.5043, allocations: 87.48 kB / 0.6924 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.5044, allocations: 43.95 kB / 0.6924 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000294/0.5047, allocations: 307 kB / 0.6927 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.5049, allocations: 106.4 kB / 0.6928 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.505, allocations: 83.59 kB / 0.6929 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.5052, allocations: 143.4 kB / 0.693 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.5052, allocations: 8 kB / 0.693 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.5053, allocations: 4 kB / 0.693 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.5053, allocations: 43.83 kB / 0.6931 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.5054, allocations: 65.58 kB / 0.6931 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.5055, allocations: 162 kB / 0.6933 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5055, allocations: 0 / 0.6933 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5055, allocations: 0 / 0.6933 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.5055, allocations: 0 / 0.6933 GB, free: 14.63 MB / 0.5137 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.0003682/0.5059, allocations: 463.8 kB / 0.6937 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.506, allocations: 8.031 kB / 0.6937 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.506, allocations: 54.55 kB / 0.6938 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.5061, allocations: 23.72 kB / 0.6938 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.5063, allocations: 258.6 kB / 0.6941 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.5063, allocations: 12.44 kB / 0.6941 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.5064, allocations: 27.94 kB / 0.6941 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.5067, allocations: 300.9 kB / 0.6944 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5067, allocations: 0 / 0.6944 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.5068, allocations: 12 kB / 0.6944 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.5068, allocations: 8 kB / 0.6944 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.5069, allocations: 119.7 kB / 0.6945 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.508, allocations: 1.973 MB / 0.6965 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.753e-05/0.5081, allocations: 177 kB / 0.6966 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.5081, allocations: 80.14 kB / 0.6967 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.5082, allocations: 75.28 kB / 0.6968 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.5082, allocations: 109.8 kB / 0.6969 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 2.013e-06/0.5082, allocations: 4 kB / 0.6969 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.921e-05/0.5083, allocations: 53.31 kB / 0.6969 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.5084, allocations: 130.7 kB / 0.6971 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.5087, allocations: 332.4 kB / 0.6974 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.5087, allocations: 25.7 kB / 0.6974 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.5088, allocations: 159.7 kB / 0.6975 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.5088, allocations: 0 / 0.6975 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.5088, allocations: 0 / 0.6975 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5089, allocations: 342.8 kB / 0.6979 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.5089, allocations: 4 kB / 0.6979 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.509, allocations: 54.86 kB / 0.6979 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.509, allocations: 19.94 kB / 0.6979 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.509, allocations: 0 / 0.6979 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001508/0.5092, allocations: 101.4 kB / 0.698 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.5092, allocations: 6.344 kB / 0.6981 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5092, allocations: 4 kB / 0.6981 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.5092, allocations: 8.203 kB / 0.6981 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.5093, allocations: 15.94 kB / 0.6981 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5093, allocations: 4 kB / 0.6981 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.5094, allocations: 27.59 kB / 0.6981 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.5094, allocations: 7.031 kB / 0.6981 GB, free: 9.336 MB / 0.5137 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.0001111/0.5095, allocations: 213.7 kB / 0.6983 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.5096, allocations: 128.7 kB / 0.6984 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.5096, allocations: 129.8 kB / 0.6986 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.397e-05/0.5097, allocations: 188.1 kB / 0.6987 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.339e-05/0.5097, allocations: 184.2 kB / 0.6989 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-05/0.5098, allocations: 176.3 kB / 0.6991 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.5101, allocations: 481 kB / 0.6995 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-05/0.5101, allocations: 109 kB / 0.6997 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.5101, allocations: 108.9 kB / 0.6998 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.282e-05/0.5102, allocations: 176.3 kB / 0.6999 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.5103, allocations: 188.2 kB / 0.7001 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.509e-05/0.5103, allocations: 184.3 kB / 0.7003 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.157e-05/0.5104, allocations: 176.3 kB / 0.7004 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.5105, allocations: 327.4 kB / 0.7008 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/0.5106, allocations: 209.7 kB / 0.701 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.5107, allocations: 180.3 kB / 0.7011 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.5108, allocations: 109 kB / 0.7012 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.5108, allocations: 184.1 kB / 0.7014 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.5109, allocations: 105.5 kB / 0.7015 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000198/0.5111, allocations: 239 kB / 0.7017 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5111, allocations: 0 / 0.7017 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002419/0.5113, allocations: 24 kB / 0.7018 GB, free: 5.371 MB / 0.5137 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.0003352/0.5117, allocations: 0.8367 MB / 0.7026 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.37e-05/0.5117, allocations: 19.94 kB / 0.7026 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5117, allocations: 4 kB / 0.7026 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.5118, allocations: 0 / 0.7026 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006255/0.5124, allocations: 0.5922 MB / 0.7032 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.5138, allocations: 1.281 MB / 0.7044 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.5141, allocations: 0.7443 MB / 0.7052 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.198e-05/0.5142, allocations: 30.28 kB / 0.7052 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.5142, allocations: 59.41 kB / 0.7052 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.5142, allocations: 4 kB / 0.7052 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.5275, allocations: 4.446 MB / 0.7096 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.5277, allocations: 197.4 kB / 0.7098 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.074, allocations: 0 / 0.7098 GB, free: 13.19 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) Environment - environmentSimulation: