Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_IDEAS_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.001099/0.001099, allocations: 108 kB / 15.6 MB, free: 132 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.001065/0.001065, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7324/0.7324, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 72.36 kB / 0.5019 GB, free: 8.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1248, allocations: 80.19 MB / 0.5802 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3413/0.4661, allocations: 148 MB / 0.7247 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00482/0.471, allocations: 4.645 MB / 0.7293 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.4712, allocations: 10.81 kB / 0.7293 GB, free: 3.125 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.4717, allocations: 160.8 kB / 0.7294 GB, free: 3.016 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.472, allocations: 85.47 kB / 0.7295 GB, free: 2.961 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.4721, allocations: 70.45 kB / 0.7296 GB, free: 2.922 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.4724, allocations: 303 kB / 0.7299 GB, free: 2.781 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.4727, allocations: 151.3 kB / 0.73 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.4728, allocations: 118.5 kB / 0.7301 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.473, allocations: 146.9 kB / 0.7303 GB, free: 2.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.4731, allocations: 19.97 kB / 0.7303 GB, free: 2.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.125e-05/0.4731, allocations: 15.38 kB / 0.7303 GB, free: 2.586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.222e-05/0.4732, allocations: 62.23 kB / 0.7303 GB, free: 2.559 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.4733, allocations: 109.5 kB / 0.7305 GB, free: 2.488 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.4735, allocations: 219.6 kB / 0.7307 GB, free: 2.402 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4735, allocations: 4 kB / 0.7307 GB, free: 2.398 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4735, allocations: 0 / 0.7307 GB, free: 2.398 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4735, allocations: 1.375 kB / 0.7307 GB, free: 2.398 MB / 0.545 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.0004525/0.474, allocations: 490 kB / 0.7311 GB, free: 1.957 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.474, allocations: 10.52 kB / 0.7311 GB, free: 1.957 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.4741, allocations: 58.31 kB / 0.7312 GB, free: 1.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.4741, allocations: 27.06 kB / 0.7312 GB, free: 1.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.4744, allocations: 255.3 kB / 0.7315 GB, free: 1.652 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4744, allocations: 21.72 kB / 0.7315 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.4744, allocations: 29.22 kB / 0.7315 GB, free: 1.625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.4748, allocations: 308.2 kB / 0.7318 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4748, allocations: 5.25 kB / 0.7318 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.4749, allocations: 8.688 kB / 0.7318 GB, free: 1.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.4749, allocations: 5.031 kB / 0.7318 GB, free: 1.379 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.4751, allocations: 125.1 kB / 0.732 GB, free: 1.332 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.4763, allocations: 1.974 MB / 0.7339 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.963e-05/0.4763, allocations: 166.1 kB / 0.734 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.4764, allocations: 84.98 kB / 0.7341 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.4764, allocations: 75.28 kB / 0.7342 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.4764, allocations: 111 kB / 0.7343 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.4765, allocations: 0 / 0.7343 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.951e-05/0.4765, allocations: 57.52 kB / 0.7343 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.4766, allocations: 128.7 kB / 0.7345 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.4769, allocations: 323.6 kB / 0.7348 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.4769, allocations: 27.11 kB / 0.7348 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/0.477, allocations: 163.5 kB / 0.735 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.477, allocations: 5.438 kB / 0.735 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.4771, allocations: 23.28 kB / 0.735 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.4772, allocations: 331.3 kB / 0.7353 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.4772, allocations: 6.078 kB / 0.7353 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.142e-05/0.4773, allocations: 60.89 kB / 0.7354 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.052e-05/0.4773, allocations: 78.25 kB / 0.7354 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4773, allocations: 0 / 0.7354 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000165/0.4775, allocations: 102.1 kB / 0.7355 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4775, allocations: 10.66 kB / 0.7356 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.4775, allocations: 2.312 kB / 0.7356 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4776, allocations: 3.094 kB / 0.7356 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.4776, allocations: 18.23 kB / 0.7356 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4776, allocations: 7.312 kB / 0.7356 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.4777, allocations: 26.84 kB / 0.7356 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.4777, allocations: 2.781 kB / 0.7356 GB, free: 13.92 MB / 0.5606 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.000119/0.4779, allocations: 210.2 kB / 0.7358 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-05/0.4779, allocations: 133.7 kB / 0.7359 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.199e-05/0.478, allocations: 128.6 kB / 0.7361 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.978e-05/0.4781, allocations: 184.1 kB / 0.7362 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.714e-05/0.4781, allocations: 181.5 kB / 0.7364 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.402e-05/0.4782, allocations: 179.5 kB / 0.7366 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.4785, allocations: 485.2 kB / 0.737 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.884e-05/0.4785, allocations: 102.1 kB / 0.7371 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.4786, allocations: 107.8 kB / 0.7372 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.87e-05/0.4786, allocations: 189.2 kB / 0.7374 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/0.4787, allocations: 183.9 kB / 0.7376 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.606e-05/0.4787, allocations: 181.3 kB / 0.7378 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.768e-05/0.4788, allocations: 180.5 kB / 0.7379 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.4789, allocations: 335 kB / 0.7383 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.479, allocations: 196.9 kB / 0.7385 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/0.4791, allocations: 191.9 kB / 0.7386 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.4792, allocations: 101 kB / 0.7387 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.4793, allocations: 181.5 kB / 0.7389 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.4793, allocations: 104.4 kB / 0.739 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002168/0.4796, allocations: 238.9 kB / 0.7392 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4796, allocations: 0 / 0.7392 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000265/0.4798, allocations: 36.78 kB / 0.7393 GB, free: 10.23 MB / 0.5606 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.0003423/0.4802, allocations: 0.8255 MB / 0.7401 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.4803, allocations: 29.83 kB / 0.7401 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4803, allocations: 1.094 kB / 0.7401 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.4803, allocations: 0 / 0.7401 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.481, allocations: 0.5195 MB / 0.7406 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.4832, allocations: 2.523 MB / 0.7431 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.4835, allocations: 0.7475 MB / 0.7438 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.74e-05/0.4836, allocations: 28.23 kB / 0.7438 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.4836, allocations: 62.45 kB / 0.7439 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.4836, allocations: 0 / 0.7439 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.5013, allocations: 4.711 MB / 0.7485 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/7.268, allocations: 14.41 kB / 0.7485 GB, free: 4.297 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)