Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.001435/0.001435, allocations: 104.4 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 192 kB / 17.34 MB, free: 5.738 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7752/0.7752, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.58 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1274, allocations: 77.92 MB / 0.6441 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4521/0.5796, allocations: 174 MB / 0.814 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007174/0.5868, allocations: 9.486 MB / 0.8232 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.587, allocations: 15.38 kB / 0.8232 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.5876, allocations: 200.4 kB / 0.8234 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.5879, allocations: 92.8 kB / 0.8235 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.588, allocations: 59.67 kB / 0.8236 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.5883, allocations: 323.2 kB / 0.8239 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.5886, allocations: 143.9 kB / 0.824 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.5889, allocations: 166.1 kB / 0.8242 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.982e-05/0.589, allocations: 102.2 kB / 0.8243 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.589, allocations: 14.59 kB / 0.8243 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.486e-05/0.5891, allocations: 18.19 kB / 0.8243 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.5891, allocations: 39.91 kB / 0.8244 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.482e-05/0.5892, allocations: 100.2 kB / 0.8244 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.5894, allocations: 218.2 kB / 0.8247 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5894, allocations: 0 / 0.8247 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5894, allocations: 0 / 0.8247 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5895, allocations: 2.844 kB / 0.8247 GB, free: 8.098 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004102/0.5899, allocations: 486.3 kB / 0.8251 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.5899, allocations: 10.62 kB / 0.8251 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.59, allocations: 53.86 kB / 0.8252 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.59, allocations: 25.95 kB / 0.8252 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.5903, allocations: 266 kB / 0.8255 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.5904, allocations: 20.25 kB / 0.8255 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.5904, allocations: 16.72 kB / 0.8255 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.5907, allocations: 232.9 kB / 0.8257 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5907, allocations: 2.5 kB / 0.8257 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.5907, allocations: 10.34 kB / 0.8257 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.5907, allocations: 9.234 kB / 0.8257 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.5909, allocations: 93.06 kB / 0.8258 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008928/0.5918, allocations: 1.431 MB / 0.8272 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.007e-05/0.5919, allocations: 179.9 kB / 0.8274 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.5919, allocations: 80.14 kB / 0.8275 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.5919, allocations: 75.28 kB / 0.8275 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.592, allocations: 109.8 kB / 0.8277 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 2.384e-06/0.592, allocations: 4.047 kB / 0.8277 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.721e-05/0.5921, allocations: 57.62 kB / 0.8277 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.5921, allocations: 130.7 kB / 0.8278 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.5924, allocations: 287.1 kB / 0.8281 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.5924, allocations: 25.7 kB / 0.8281 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/0.5925, allocations: 144.2 kB / 0.8283 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.5925, allocations: 0 / 0.8283 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.5925, allocations: 19.44 kB / 0.8283 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5926, allocations: 335.8 kB / 0.8286 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.5927, allocations: 4 kB / 0.8286 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/0.5927, allocations: 27.84 kB / 0.8286 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/0.5927, allocations: 38.03 kB / 0.8287 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5927, allocations: 4 kB / 0.8287 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001223/0.5929, allocations: 78.2 kB / 0.8288 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.5929, allocations: 5.438 kB / 0.8288 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.5929, allocations: 0 / 0.8288 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.5929, allocations: 2.469 kB / 0.8288 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-05/0.593, allocations: 4.812 kB / 0.8288 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.593, allocations: 6.859 kB / 0.8288 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.593, allocations: 20.66 kB / 0.8288 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.5931, allocations: 2 kB / 0.8288 GB, free: 4.098 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 0.0001038/0.5932, allocations: 205.2 kB / 0.829 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.5932, allocations: 126.9 kB / 0.8291 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.5933, allocations: 121.3 kB / 0.8292 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.123e-05/0.5934, allocations: 180.3 kB / 0.8294 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.675e-05/0.5934, allocations: 182.9 kB / 0.8296 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.667e-05/0.5935, allocations: 184.2 kB / 0.8298 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.5937, allocations: 470.2 kB / 0.8302 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.791e-05/0.5938, allocations: 105 kB / 0.8303 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.5938, allocations: 103.1 kB / 0.8304 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.889e-05/0.5939, allocations: 180.2 kB / 0.8306 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/0.5939, allocations: 182.8 kB / 0.8307 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-05/0.594, allocations: 188.2 kB / 0.8309 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.316e-05/0.5941, allocations: 176.3 kB / 0.8311 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.5942, allocations: 335.1 kB / 0.8314 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-05/0.5943, allocations: 200.7 kB / 0.8316 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.5944, allocations: 191.4 kB / 0.8318 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.5945, allocations: 104.9 kB / 0.8319 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.5946, allocations: 182.8 kB / 0.8321 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.5946, allocations: 101 kB / 0.8322 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001662/0.5948, allocations: 207.4 kB / 0.8324 GB, free: 384 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5948, allocations: 0 / 0.8324 GB, free: 384 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002467/0.595, allocations: 26.66 kB / 0.8324 GB, free: 380 kB / 0.5919 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.0003659/0.5954, allocations: 0.8373 MB / 0.8332 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.156e-05/0.5955, allocations: 8 kB / 0.8332 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5955, allocations: 0 / 0.8332 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.5955, allocations: 4.25 kB / 0.8332 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007348/0.5962, allocations: 0.5455 MB / 0.8337 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.5981, allocations: 2.217 MB / 0.8359 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.5984, allocations: 0.729 MB / 0.8366 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.089e-05/0.5985, allocations: 20.03 kB / 0.8366 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.5985, allocations: 57.48 kB / 0.8367 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.5985, allocations: 0 / 0.8367 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.6166, allocations: 4.672 MB / 0.8413 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/8.267, allocations: 14.78 kB / 0.8413 GB, free: 10.1 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)