Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_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.001279/0.001279, 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.001281/0.001281, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8657/0.8657, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 65.22 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1275, allocations: 80.93 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3486/0.4761, allocations: 148 MB / 0.729 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004903/0.481, allocations: 4.653 MB / 0.7335 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.4814, allocations: 7.531 kB / 0.7335 GB, free: 14.44 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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-master/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-master/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.0005543/0.482, allocations: 164.8 kB / 0.7337 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.4824, allocations: 79.81 kB / 0.7338 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.4826, allocations: 62.88 kB / 0.7338 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.483, allocations: 318 kB / 0.7341 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.4833, allocations: 151.7 kB / 0.7343 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.4835, allocations: 109.4 kB / 0.7344 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.4837, allocations: 150.9 kB / 0.7345 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.4837, allocations: 21.16 kB / 0.7346 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.4838, allocations: 15.12 kB / 0.7346 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.4839, allocations: 65.14 kB / 0.7346 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.484, allocations: 102 kB / 0.7347 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.4842, allocations: 226.1 kB / 0.7349 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4842, allocations: 0 / 0.7349 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4842, allocations: 0 / 0.7349 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.4842, allocations: 0.9375 kB / 0.7349 GB, free: 13.71 MB / 0.5606 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.0004495/0.4847, allocations: 491.8 kB / 0.7354 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4847, allocations: 9.5 kB / 0.7354 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.389e-05/0.4848, allocations: 63.61 kB / 0.7355 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.4848, allocations: 27.31 kB / 0.7355 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.4851, allocations: 261 kB / 0.7358 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4851, allocations: 13 kB / 0.7358 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.4852, allocations: 26.22 kB / 0.7358 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.4856, allocations: 302.5 kB / 0.7361 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4856, allocations: 1.438 kB / 0.7361 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.4856, allocations: 13.38 kB / 0.7361 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.4856, allocations: 6.281 kB / 0.7361 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.4858, allocations: 126.5 kB / 0.7362 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.487, allocations: 1.97 MB / 0.7381 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.634e-05/0.487, allocations: 170.3 kB / 0.7383 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.4871, allocations: 89.31 kB / 0.7384 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4871, allocations: 75.28 kB / 0.7385 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.4871, allocations: 112.6 kB / 0.7386 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 2.775e-06/0.4871, allocations: 0 / 0.7386 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.638e-05/0.4872, allocations: 56.11 kB / 0.7386 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.4873, allocations: 128 kB / 0.7387 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.4876, allocations: 332.3 kB / 0.7391 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.4876, allocations: 26.73 kB / 0.7391 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/0.4877, allocations: 160.9 kB / 0.7392 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-06/0.4878, allocations: 4.031 kB / 0.7392 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.4878, allocations: 19 kB / 0.7393 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.4879, allocations: 336.2 kB / 0.7396 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.4879, allocations: 5.75 kB / 0.7396 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.488, allocations: 61.41 kB / 0.7397 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.488, allocations: 74.89 kB / 0.7397 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4881, allocations: 0 / 0.7397 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001685/0.4882, allocations: 102.3 kB / 0.7398 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4882, allocations: 13.91 kB / 0.7398 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4883, allocations: 2.219 kB / 0.7398 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4883, allocations: 2.594 kB / 0.7398 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.4884, allocations: 13.36 kB / 0.7399 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4884, allocations: 6.344 kB / 0.7399 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.285e-05/0.4885, allocations: 30.12 kB / 0.7399 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4885, allocations: 3.656 kB / 0.7399 GB, free: 9.219 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.0001099/0.4886, allocations: 208.1 kB / 0.7401 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/0.4887, allocations: 136.1 kB / 0.7402 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.4887, allocations: 127.3 kB / 0.7403 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.363e-05/0.4888, allocations: 178.7 kB / 0.7405 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.761e-05/0.4888, allocations: 182.6 kB / 0.7407 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.513e-05/0.4889, allocations: 181.3 kB / 0.7409 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.4891, allocations: 482.6 kB / 0.7413 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.593e-05/0.4892, allocations: 107.5 kB / 0.7414 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.4892, allocations: 102.3 kB / 0.7415 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.781e-05/0.4893, allocations: 185.1 kB / 0.7417 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.4893, allocations: 177.3 kB / 0.7419 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-05/0.4894, allocations: 183.3 kB / 0.742 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.623e-05/0.4894, allocations: 181.2 kB / 0.7422 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.4895, allocations: 332 kB / 0.7425 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.4896, allocations: 204.2 kB / 0.7427 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.4897, allocations: 186.8 kB / 0.7429 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.4898, allocations: 102 kB / 0.743 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.4899, allocations: 184 kB / 0.7432 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.4899, allocations: 114 kB / 0.7433 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002237/0.4901, allocations: 235.6 kB / 0.7435 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4902, allocations: 0 / 0.7435 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002616/0.4904, allocations: 29.06 kB / 0.7435 GB, free: 5.543 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.000319/0.4907, allocations: 0.8318 MB / 0.7443 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.627e-05/0.4908, allocations: 27 kB / 0.7444 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4908, allocations: 2.656 kB / 0.7444 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.4908, allocations: 7.938 kB / 0.7444 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.4915, allocations: 0.5157 MB / 0.7449 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.4937, allocations: 2.514 MB / 0.7473 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.494, allocations: 0.741 MB / 0.7481 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.4941, allocations: 34.2 kB / 0.7481 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.4942, allocations: 57.39 kB / 0.7482 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/0.4942, allocations: 0 / 0.7482 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.5121, allocations: 4.733 MB / 0.7528 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/7.219, allocations: 4 kB / 0.7528 GB, free: 15.16 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)