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.0009181/0.0009181, allocations: 98.58 kB / 16.02 MB, free: 80 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.0007895/0.0007895, allocations: 182.8 kB / 16.92 MB, free: 6.688 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.244/1.244, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6437/0.6437, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 8 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.122, allocations: 77.53 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3642/0.4862, allocations: 143.9 MB / 0.7005 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004341/0.4906, allocations: 4.547 MB / 0.705 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.4908, allocations: 11.94 kB / 0.705 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.4912, allocations: 127.2 kB / 0.7051 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.4914, allocations: 91.48 kB / 0.7052 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.4916, allocations: 47.95 kB / 0.7053 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.492, allocations: 366.8 kB / 0.7056 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.4922, allocations: 133 kB / 0.7057 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.4924, allocations: 91.52 kB / 0.7058 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.4926, allocations: 139.3 kB / 0.706 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.4926, allocations: 4 kB / 0.706 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.614e-05/0.4926, allocations: 8 kB / 0.706 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.4927, allocations: 51.83 kB / 0.706 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.4928, allocations: 117.1 kB / 0.7061 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.493, allocations: 205.6 kB / 0.7063 GB, free: 396 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.493, allocations: 4 kB / 0.7063 GB, free: 392 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.102e-06/0.493, allocations: 4 kB / 0.7063 GB, free: 388 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.493, allocations: 0 / 0.7063 GB, free: 388 kB / 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.0003847/0.4934, allocations: 448 kB / 0.7068 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4935, allocations: 12.03 kB / 0.7068 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.4935, allocations: 58.73 kB / 0.7068 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.4936, allocations: 25.53 kB / 0.7068 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.4938, allocations: 256.7 kB / 0.7071 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.4939, allocations: 16.81 kB / 0.7071 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.4939, allocations: 28.5 kB / 0.7071 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.4943, allocations: 304.8 kB / 0.7074 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4943, allocations: 3.938 kB / 0.7074 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.4943, allocations: 12 kB / 0.7074 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.4943, allocations: 8 kB / 0.7074 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.4945, allocations: 119.8 kB / 0.7076 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4956, allocations: 1.977 MB / 0.7095 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.726e-05/0.4957, allocations: 173.1 kB / 0.7097 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.4957, allocations: 84.14 kB / 0.7097 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.4957, allocations: 75.28 kB / 0.7098 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.4958, allocations: 113.8 kB / 0.7099 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.4958, allocations: 0 / 0.7099 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.082e-05/0.4959, allocations: 53.36 kB / 0.71 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4959, allocations: 126.7 kB / 0.7101 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.4962, allocations: 336.4 kB / 0.7104 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.4963, allocations: 25.7 kB / 0.7104 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.4964, allocations: 155.7 kB / 0.7106 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.4964, allocations: 8 kB / 0.7106 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.4964, allocations: 13.72 kB / 0.7106 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.4965, allocations: 334.8 kB / 0.7109 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.4965, allocations: 11.98 kB / 0.7109 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.4966, allocations: 50.88 kB / 0.711 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.976e-05/0.4967, allocations: 78.73 kB / 0.7111 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4967, allocations: 4 kB / 0.7111 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001533/0.4968, allocations: 97.31 kB / 0.7112 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4968, allocations: 4 kB / 0.7112 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.4969, allocations: 0 / 0.7112 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4969, allocations: 7.938 kB / 0.7112 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.4969, allocations: 19.92 kB / 0.7112 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.497, allocations: 4.25 kB / 0.7112 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.933e-05/0.497, allocations: 31.59 kB / 0.7112 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.497, allocations: 8 kB / 0.7112 GB, free: 10.97 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.4972, allocations: 209.1 kB / 0.7114 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.4972, allocations: 128.6 kB / 0.7116 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.12e-05/0.4973, allocations: 133.8 kB / 0.7117 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.697e-05/0.4973, allocations: 184.1 kB / 0.7119 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-05/0.4974, allocations: 184.3 kB / 0.712 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.828e-05/0.4975, allocations: 184.2 kB / 0.7122 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.4977, allocations: 473.1 kB / 0.7127 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/0.4977, allocations: 105 kB / 0.7128 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.4978, allocations: 108.9 kB / 0.7129 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-05/0.4978, allocations: 184.3 kB / 0.713 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.4979, allocations: 180.2 kB / 0.7132 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.404e-05/0.4979, allocations: 180.2 kB / 0.7134 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.571e-05/0.498, allocations: 180.3 kB / 0.7136 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.4981, allocations: 327.5 kB / 0.7139 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.609e-05/0.4982, allocations: 213.7 kB / 0.7141 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.4983, allocations: 180.2 kB / 0.7142 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.4984, allocations: 105 kB / 0.7143 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.4984, allocations: 180.2 kB / 0.7145 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.4985, allocations: 101 kB / 0.7146 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002053/0.4987, allocations: 239 kB / 0.7148 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4987, allocations: 4 kB / 0.7148 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002415/0.4989, allocations: 27.94 kB / 0.7149 GB, free: 7.016 MB / 0.5294 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 (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.0003083/0.4992, allocations: 0.8319 MB / 0.7157 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.234e-05/0.4993, allocations: 35.92 kB / 0.7157 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4993, allocations: 0 / 0.7157 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.4993, allocations: 0 / 0.7157 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.5, allocations: 0.586 MB / 0.7163 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.5022, allocations: 2.562 MB / 0.7188 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.5024, allocations: 0.7482 MB / 0.7195 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.357e-05/0.5025, allocations: 34.27 kB / 0.7196 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.5026, allocations: 55.42 kB / 0.7196 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.5026, allocations: 0 / 0.7196 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.208/0.7106, allocations: 4.435 MB / 0.7239 GB, free: 13.74 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.7108, allocations: 208.3 kB / 0.7241 GB, free: 13.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.224, allocations: 0 / 0.7241 GB, free: 13.48 MB / 0.545 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/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)