Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.001051/0.001051, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.0009827/0.0009827, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7382/0.7382, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.73 kB / 0.568 GB, free: 29.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1223, allocations: 77.94 MB / 0.6441 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4586/0.5809, allocations: 174 MB / 0.814 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007702/0.5887, allocations: 9.505 MB / 0.8233 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.589, allocations: 11.72 kB / 0.8233 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000596/0.5896, allocations: 195.1 kB / 0.8235 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.5899, allocations: 98.31 kB / 0.8236 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.5901, allocations: 70.25 kB / 0.8237 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.5905, allocations: 323.5 kB / 0.824 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.5909, allocations: 199.2 kB / 0.8242 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.5912, allocations: 171.6 kB / 0.8243 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.5914, allocations: 127.3 kB / 0.8245 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.5914, allocations: 22.34 kB / 0.8245 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.05e-05/0.5914, allocations: 20.03 kB / 0.8245 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.5915, allocations: 74.75 kB / 0.8246 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.5916, allocations: 123.7 kB / 0.8247 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.592, allocations: 296.1 kB / 0.825 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.592, allocations: 0 / 0.825 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.592, allocations: 0 / 0.825 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.592, allocations: 0 / 0.825 GB, free: 7.949 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005099/0.5925, allocations: 0.5252 MB / 0.8255 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.5926, allocations: 10.66 kB / 0.8255 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.5926, allocations: 68.56 kB / 0.8256 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.5927, allocations: 34.88 kB / 0.8256 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.593, allocations: 278 kB / 0.8259 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.5931, allocations: 22.19 kB / 0.8259 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.5931, allocations: 25.88 kB / 0.8259 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.5935, allocations: 322.7 kB / 0.8262 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5936, allocations: 0 / 0.8262 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.5936, allocations: 17.41 kB / 0.8262 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.5936, allocations: 11.16 kB / 0.8262 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.5938, allocations: 142.8 kB / 0.8264 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.595, allocations: 1.819 MB / 0.8282 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.952e-05/0.5951, allocations: 171.7 kB / 0.8283 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.5951, allocations: 80.14 kB / 0.8284 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.5952, allocations: 83.22 kB / 0.8285 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.5952, allocations: 105.8 kB / 0.8286 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5952, allocations: 0 / 0.8286 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.41e-05/0.5953, allocations: 60.33 kB / 0.8286 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.5954, allocations: 130.7 kB / 0.8288 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.5957, allocations: 369.5 kB / 0.8291 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.5957, allocations: 29.69 kB / 0.8291 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.5959, allocations: 170.3 kB / 0.8293 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.5959, allocations: 0 / 0.8293 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.5959, allocations: 18.84 kB / 0.8293 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.596, allocations: 336.1 kB / 0.8296 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.5961, allocations: 6.484 kB / 0.8296 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.5961, allocations: 39.09 kB / 0.8297 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.5961, allocations: 50.8 kB / 0.8297 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5962, allocations: 0 / 0.8297 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001318/0.5963, allocations: 88.38 kB / 0.8298 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5963, allocations: 13.06 kB / 0.8298 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5963, allocations: 0 / 0.8298 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.5963, allocations: 2.781 kB / 0.8298 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.5964, allocations: 19.27 kB / 0.8299 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5964, allocations: 5.766 kB / 0.8299 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.568e-05/0.5965, allocations: 24.8 kB / 0.8299 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.5965, allocations: 4.594 kB / 0.8299 GB, free: 3.348 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001171/0.5966, allocations: 209.9 kB / 0.8301 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.509e-05/0.5967, allocations: 137.6 kB / 0.8302 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.5968, allocations: 132.3 kB / 0.8303 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.526e-05/0.5968, allocations: 179.3 kB / 0.8305 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.436e-05/0.5969, allocations: 184.2 kB / 0.8307 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-05/0.597, allocations: 176.3 kB / 0.8309 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.5973, allocations: 492.2 kB / 0.8313 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-05/0.5973, allocations: 108.9 kB / 0.8314 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.5973, allocations: 103.8 kB / 0.8315 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.427e-05/0.5974, allocations: 184.4 kB / 0.8317 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/0.5975, allocations: 184.3 kB / 0.8319 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.193e-05/0.5975, allocations: 186.5 kB / 0.8321 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-05/0.5976, allocations: 184.2 kB / 0.8322 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.5977, allocations: 330.2 kB / 0.8326 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.5978, allocations: 216.7 kB / 0.8328 GB, free: 316 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.44e-05/0.5979, allocations: 177.4 kB / 0.8329 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.598, allocations: 104.9 kB / 0.833 GB, free: 20 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.5981, allocations: 182.1 kB / 0.8332 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.5982, allocations: 111.8 kB / 0.8333 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002328/0.5984, allocations: 268.1 kB / 0.8336 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5984, allocations: 3 kB / 0.8336 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002549/0.5987, allocations: 28.81 kB / 0.8336 GB, free: 15.55 MB / 0.6075 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.0003658/0.599, allocations: 0.8391 MB / 0.8344 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.077e-05/0.5991, allocations: 21.98 kB / 0.8344 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5991, allocations: 0 / 0.8344 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.5991, allocations: 0 / 0.8344 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/0.5999, allocations: 0.5536 MB / 0.835 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.6023, allocations: 2.692 MB / 0.8376 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.6026, allocations: 0.7557 MB / 0.8383 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.32e-05/0.6027, allocations: 32.53 kB / 0.8384 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.6028, allocations: 72.33 kB / 0.8384 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.6028, allocations: 3.938 kB / 0.8384 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.6238, allocations: 5.925 MB / 0.8442 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/8.262, allocations: 2.594 kB / 0.8442 GB, free: 8.434 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_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_InletToAirMoistAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)