Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_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.001301/0.001301, allocations: 108 kB / 15.61 MB, free: 152 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.001324/0.001324, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002509/0.002509, allocations: 286.6 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 178.6 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004041/0.004041, allocations: 109.3 kB / 0.6065 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1515, allocations: 89.14 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4366/0.5881, allocations: 148 MB / 0.8381 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006027/0.5941, allocations: 4.646 MB / 0.8427 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.5944, allocations: 15.28 kB / 0.8427 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.5948, allocations: 164.8 kB / 0.8428 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.5952, allocations: 81.61 kB / 0.8429 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.5953, allocations: 64.33 kB / 0.843 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.5957, allocations: 301.8 kB / 0.8433 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.596, allocations: 148.1 kB / 0.8434 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.5962, allocations: 115.8 kB / 0.8435 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.5964, allocations: 158.6 kB / 0.8437 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.5965, allocations: 16.5 kB / 0.8437 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.255e-05/0.5965, allocations: 15.12 kB / 0.8437 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.521e-05/0.5966, allocations: 64.45 kB / 0.8438 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.5967, allocations: 105.8 kB / 0.8439 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.597, allocations: 221.1 kB / 0.8441 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.597, allocations: 0 / 0.8441 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.597, allocations: 0 / 0.8441 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.597, allocations: 0 / 0.8441 GB, free: 8.727 MB / 0.5762 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.0005651/0.5976, allocations: 495 kB / 0.8445 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5976, allocations: 9.625 kB / 0.8445 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.024e-05/0.5977, allocations: 58.97 kB / 0.8446 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.5978, allocations: 29.03 kB / 0.8446 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.5981, allocations: 260.8 kB / 0.8449 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.5981, allocations: 12.94 kB / 0.8449 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.5981, allocations: 23.19 kB / 0.8449 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.5985, allocations: 302.5 kB / 0.8452 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5986, allocations: 9.203 kB / 0.8452 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.5986, allocations: 11.47 kB / 0.8452 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.5986, allocations: 6.75 kB / 0.8452 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.5988, allocations: 133.3 kB / 0.8454 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.6003, allocations: 1.966 MB / 0.8473 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.473e-05/0.6004, allocations: 174.6 kB / 0.8474 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.6005, allocations: 84.14 kB / 0.8475 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.6005, allocations: 76.62 kB / 0.8476 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/0.6006, allocations: 105.8 kB / 0.8477 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6006, allocations: 0 / 0.8477 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.42e-05/0.6007, allocations: 53.39 kB / 0.8477 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.6008, allocations: 134.6 kB / 0.8479 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.6011, allocations: 331.6 kB / 0.8482 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.6012, allocations: 29.7 kB / 0.8482 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.6013, allocations: 161.7 kB / 0.8484 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.6013, allocations: 3.984 kB / 0.8484 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.6013, allocations: 20.47 kB / 0.8484 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.6015, allocations: 336.2 kB / 0.8487 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.6015, allocations: 4.125 kB / 0.8487 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.655e-05/0.6016, allocations: 59.11 kB / 0.8488 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.559e-05/0.6017, allocations: 72.5 kB / 0.8488 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6017, allocations: 3.938 kB / 0.8489 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001892/0.6019, allocations: 101.1 kB / 0.8489 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.6019, allocations: 9.438 kB / 0.849 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6019, allocations: 1.625 kB / 0.849 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.602, allocations: 11.31 kB / 0.849 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.602, allocations: 12.38 kB / 0.849 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.602, allocations: 2.75 kB / 0.849 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.476e-05/0.6021, allocations: 27.91 kB / 0.849 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.6021, allocations: 2.344 kB / 0.849 GB, free: 3.961 MB / 0.5762 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.0001439/0.6023, allocations: 214.4 kB / 0.8492 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/0.6024, allocations: 126.1 kB / 0.8493 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.524e-05/0.6025, allocations: 133.9 kB / 0.8495 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.856e-05/0.6026, allocations: 182.4 kB / 0.8496 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.551e-05/0.6026, allocations: 180.3 kB / 0.8498 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.214e-05/0.6027, allocations: 183.1 kB / 0.85 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.6031, allocations: 479.4 kB / 0.8504 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.747e-05/0.6031, allocations: 105 kB / 0.8505 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.6032, allocations: 108.9 kB / 0.8506 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.493e-05/0.6033, allocations: 178.4 kB / 0.8508 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/0.6034, allocations: 186.3 kB / 0.851 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.128e-05/0.6035, allocations: 183.1 kB / 0.8512 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.25e-05/0.6035, allocations: 184.2 kB / 0.8513 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.6037, allocations: 324.1 kB / 0.8517 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.6039, allocations: 211.7 kB / 0.8519 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.604, allocations: 180.2 kB / 0.852 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.6041, allocations: 107.1 kB / 0.8521 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.6042, allocations: 188.2 kB / 0.8523 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.245e-05/0.6043, allocations: 101 kB / 0.8524 GB, free: 364 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002183/0.6045, allocations: 236.1 kB / 0.8526 GB, free: 212 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6045, allocations: 1.812 kB / 0.8526 GB, free: 212 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000262/0.6048, allocations: 29.56 kB / 0.8527 GB, free: 208 kB / 0.5762 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.0004642/0.6052, allocations: 0.8342 MB / 0.8535 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.395e-05/0.6053, allocations: 26.34 kB / 0.8535 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6053, allocations: 0 / 0.8535 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.6053, allocations: 0 / 0.8535 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007794/0.6061, allocations: 0.5307 MB / 0.854 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.6087, allocations: 2.524 MB / 0.8565 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.6091, allocations: 0.7431 MB / 0.8572 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.344e-05/0.6092, allocations: 28.75 kB / 0.8572 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.6e-05/0.6093, allocations: 57.58 kB / 0.8573 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.6093, allocations: 0 / 0.8573 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.6356, allocations: 4.752 MB / 0.8619 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.375, allocations: 9.516 kB / 0.8619 GB, free: 9.773 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)