Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001021/0.001021, 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.001037/0.001037, allocations: 193.7 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.262/1.262, 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/package.mo): time 0.7259/0.7259, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.97 kB / 0.5019 GB, free: 8.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1268, allocations: 80.2 MB / 0.5802 GB, free: 8.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.3717/0.4985, allocations: 170.3 MB / 0.7465 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005749/0.5043, allocations: 6.008 MB / 0.7524 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.5045, allocations: 7.25 kB / 0.7524 GB, free: 0.9492 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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). Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.5051, allocations: 185 kB / 0.7526 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.5053, allocations: 90.59 kB / 0.7527 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009924/0.5063, allocations: 0.5255 MB / 0.7532 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.5067, allocations: 403 kB / 0.7536 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.5069, allocations: 137.2 kB / 0.7537 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.5072, allocations: 195.4 kB / 0.7539 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.5074, allocations: 149.8 kB / 0.754 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.5075, allocations: 19.34 kB / 0.754 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006544/0.5081, allocations: 462.5 kB / 0.7545 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.5082, allocations: 71.7 kB / 0.7545 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.5083, allocations: 102.8 kB / 0.7546 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.5088, allocations: 438.7 kB / 0.7551 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5089, allocations: 0 / 0.7551 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5089, allocations: 7.5 kB / 0.7551 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.088e-06/0.5089, allocations: 0 / 0.7551 GB, free: 15.16 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005116/0.5094, allocations: 0.5171 MB / 0.7556 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.5094, allocations: 11.12 kB / 0.7556 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.499e-05/0.5095, allocations: 62.5 kB / 0.7556 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.5097, allocations: 37.55 kB / 0.7557 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.51, allocations: 247.7 kB / 0.7559 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.5101, allocations: 135.1 kB / 0.756 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.5102, allocations: 28.41 kB / 0.7561 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.5106, allocations: 294 kB / 0.7563 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5106, allocations: 0 / 0.7563 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.5106, allocations: 10.78 kB / 0.7564 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.5106, allocations: 7.219 kB / 0.7564 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.5109, allocations: 156.4 kB / 0.7565 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.5121, allocations: 1.585 MB / 0.7581 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.138e-05/0.5122, allocations: 169.1 kB / 0.7582 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.5123, allocations: 80.14 kB / 0.7583 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.5123, allocations: 77.75 kB / 0.7584 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.5124, allocations: 121.7 kB / 0.7585 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 2.054e-06/0.5124, allocations: 3.938 kB / 0.7585 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.488e-05/0.5125, allocations: 53.05 kB / 0.7585 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.5125, allocations: 126.7 kB / 0.7587 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.5129, allocations: 314.5 kB / 0.759 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.5129, allocations: 25.7 kB / 0.759 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.513, allocations: 187.2 kB / 0.7592 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-06/0.513, allocations: 4 kB / 0.7592 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.5131, allocations: 49.61 kB / 0.7592 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5132, allocations: 330.8 kB / 0.7595 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/0.5133, allocations: 31.98 kB / 0.7596 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.5135, allocations: 158.7 kB / 0.7597 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.5137, allocations: 196.8 kB / 0.7599 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5137, allocations: 8 kB / 0.7599 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003946/0.5141, allocations: 217.5 kB / 0.7601 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5141, allocations: 12.03 kB / 0.7601 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5141, allocations: 8 kB / 0.7601 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5142, allocations: 4 kB / 0.7601 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.5143, allocations: 38.61 kB / 0.7602 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5143, allocations: 11.94 kB / 0.7602 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.5145, allocations: 35.59 kB / 0.7602 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.5145, allocations: 8 kB / 0.7602 GB, free: 9.938 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001267/0.5147, allocations: 222.5 kB / 0.7604 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/0.5147, allocations: 128.8 kB / 0.7606 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.5148, allocations: 125.8 kB / 0.7607 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.498e-05/0.5149, allocations: 176.3 kB / 0.7609 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.419e-05/0.5149, allocations: 188.2 kB / 0.761 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.514e-05/0.515, allocations: 176.3 kB / 0.7612 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.5153, allocations: 481.1 kB / 0.7617 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.856e-05/0.5153, allocations: 108.9 kB / 0.7618 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.5154, allocations: 104.9 kB / 0.7619 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.727e-05/0.5154, allocations: 184.2 kB / 0.762 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.5155, allocations: 180.2 kB / 0.7622 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-05/0.5155, allocations: 184.4 kB / 0.7624 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.978e-05/0.5156, allocations: 180.3 kB / 0.7626 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.5157, allocations: 323.6 kB / 0.7629 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.5159, allocations: 213.7 kB / 0.7631 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.051e-05/0.516, allocations: 184.2 kB / 0.7633 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.5161, allocations: 105 kB / 0.7634 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.5162, allocations: 180.3 kB / 0.7635 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.5162, allocations: 111.5 kB / 0.7636 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002254/0.5164, allocations: 221.9 kB / 0.7638 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5164, allocations: 0 / 0.7638 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003533/0.5168, allocations: 55.92 kB / 0.7639 GB, free: 5.965 MB / 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.0005652/0.5174, allocations: 0.8553 MB / 0.7647 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.5176, allocations: 79.77 kB / 0.7648 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5176, allocations: 0 / 0.7648 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.5176, allocations: 3.938 kB / 0.7648 GB, free: 5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.518, allocations: 483.1 kB / 0.7653 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.5204, allocations: 2.513 MB / 0.7677 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.5207, allocations: 0.7323 MB / 0.7684 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.5208, allocations: 37.77 kB / 0.7685 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.5209, allocations: 63.34 kB / 0.7685 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.5209, allocations: 0 / 0.7685 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.5399, allocations: 3.957 MB / 0.7724 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/7.368, allocations: 12.03 kB / 0.7724 GB, free: 13.12 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet_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_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)