Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_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.001285/0.001285, 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.001276/0.001276, allocations: 195.2 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8949/0.8949, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.72 kB / 0.5054 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.128, allocations: 80.92 MB / 0.5845 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3632/0.4912, allocations: 174 MB / 0.7544 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008487/0.4997, allocations: 9.526 MB / 0.7637 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.5, allocations: 11.94 kB / 0.7637 GB, free: 5.363 MB / 0.5762 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.0005113/0.5006, allocations: 186.7 kB / 0.7639 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.5008, allocations: 95.31 kB / 0.764 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.5009, allocations: 63.86 kB / 0.7641 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.5012, allocations: 326.6 kB / 0.7644 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.5016, allocations: 202.4 kB / 0.7646 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.5019, allocations: 171.4 kB / 0.7647 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.502, allocations: 123.4 kB / 0.7648 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.502, allocations: 20 kB / 0.7649 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.531e-05/0.5021, allocations: 24 kB / 0.7649 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.739e-05/0.5022, allocations: 79.75 kB / 0.765 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.5023, allocations: 119.4 kB / 0.7651 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.5025, allocations: 286.9 kB / 0.7654 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5025, allocations: 0 / 0.7654 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5025, allocations: 0 / 0.7654 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5025, allocations: 0 / 0.7654 GB, free: 3.703 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004381/0.503, allocations: 0.5146 MB / 0.7659 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.503, allocations: 16.02 kB / 0.7659 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.5031, allocations: 58.55 kB / 0.7659 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.5031, allocations: 31.66 kB / 0.766 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.5034, allocations: 267.5 kB / 0.7662 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.5034, allocations: 16.56 kB / 0.7662 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.5034, allocations: 31.98 kB / 0.7663 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.5038, allocations: 316 kB / 0.7666 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.5038, allocations: 7.938 kB / 0.7666 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.5039, allocations: 12 kB / 0.7666 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.5039, allocations: 7.938 kB / 0.7666 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.5041, allocations: 150.9 kB / 0.7667 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.5052, allocations: 1.812 MB / 0.7685 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.356e-05/0.5053, allocations: 177.1 kB / 0.7687 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.5053, allocations: 88.14 kB / 0.7688 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.5053, allocations: 79.22 kB / 0.7688 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.5054, allocations: 109.8 kB / 0.7689 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.5054, allocations: 0 / 0.7689 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.332e-05/0.5055, allocations: 53.33 kB / 0.769 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.5055, allocations: 126.7 kB / 0.7691 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.5059, allocations: 373.7 kB / 0.7695 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.5059, allocations: 25.7 kB / 0.7695 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.506, allocations: 171.8 kB / 0.7696 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-06/0.506, allocations: 7.984 kB / 0.7697 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.506, allocations: 17.72 kB / 0.7697 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5061, allocations: 338.8 kB / 0.77 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.5062, allocations: 3.938 kB / 0.77 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.5062, allocations: 44.22 kB / 0.77 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.5062, allocations: 44.23 kB / 0.7701 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5063, allocations: 0 / 0.7701 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001303/0.5064, allocations: 85.28 kB / 0.7702 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.5064, allocations: 4.156 kB / 0.7702 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.5064, allocations: 7.938 kB / 0.7702 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.5064, allocations: 4 kB / 0.7702 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.169e-05/0.5065, allocations: 8 kB / 0.7702 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.788e-06/0.5065, allocations: 0 / 0.7702 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.5066, allocations: 31.59 kB / 0.7702 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.5066, allocations: 4.703 kB / 0.7702 GB, free: 14.38 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.0001132/0.5067, allocations: 213 kB / 0.7704 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.5068, allocations: 132.6 kB / 0.7706 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.224e-05/0.5069, allocations: 135 kB / 0.7707 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.406e-05/0.5069, allocations: 176.3 kB / 0.7708 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.023e-05/0.507, allocations: 180.3 kB / 0.771 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.654e-05/0.507, allocations: 184.2 kB / 0.7712 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.5073, allocations: 493 kB / 0.7717 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-05/0.5073, allocations: 110.5 kB / 0.7718 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.5074, allocations: 105 kB / 0.7719 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.874e-05/0.5074, allocations: 180.2 kB / 0.772 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.5075, allocations: 180.3 kB / 0.7722 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.916e-05/0.5075, allocations: 184.2 kB / 0.7724 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.656e-05/0.5076, allocations: 184.5 kB / 0.7726 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.5077, allocations: 339.3 kB / 0.7729 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.5078, allocations: 209.8 kB / 0.7731 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.5079, allocations: 184.2 kB / 0.7733 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.508, allocations: 101 kB / 0.7734 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.508, allocations: 188.2 kB / 0.7735 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.5081, allocations: 105.7 kB / 0.7736 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002326/0.5083, allocations: 271.2 kB / 0.7739 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5083, allocations: 0 / 0.7739 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002481/0.5086, allocations: 27.94 kB / 0.7739 GB, free: 10.36 MB / 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.000311/0.5089, allocations: 0.8434 MB / 0.7748 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.034e-05/0.5089, allocations: 8 kB / 0.7748 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.509, allocations: 0 / 0.7748 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.509, allocations: 3.938 kB / 0.7748 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/0.5097, allocations: 0.5561 MB / 0.7753 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.5121, allocations: 2.708 MB / 0.778 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.5124, allocations: 0.7558 MB / 0.7787 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.731e-05/0.5125, allocations: 30.97 kB / 0.7787 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.339e-05/0.5126, allocations: 75.41 kB / 0.7788 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.5126, allocations: 0 / 0.7788 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.5327, allocations: 5.835 MB / 0.7845 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.429, allocations: 2.406 kB / 0.7845 GB, free: 15.55 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)