Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.AirToOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_dev_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.00107/0.00107, 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.001356/0.001356, allocations: 197 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.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.884/0.884, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 60.28 kB / 0.5055 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1294, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.3735/0.503, allocations: 170.3 MB / 0.7508 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005547/0.5086, allocations: 6.003 MB / 0.7567 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.5088, allocations: 16 kB / 0.7567 GB, free: 11.89 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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-master/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-master/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.0005452/0.5094, allocations: 182 kB / 0.7568 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.5097, allocations: 88.78 kB / 0.7569 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009951/0.5107, allocations: 0.5178 MB / 0.7574 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.5111, allocations: 420.9 kB / 0.7578 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.5113, allocations: 133.1 kB / 0.758 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.5116, allocations: 186.1 kB / 0.7581 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.5117, allocations: 152.3 kB / 0.7583 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.5118, allocations: 14.75 kB / 0.7583 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006499/0.5124, allocations: 459.2 kB / 0.7587 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.5125, allocations: 71.81 kB / 0.7588 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.796e-05/0.5126, allocations: 111.4 kB / 0.7589 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.5132, allocations: 434.8 kB / 0.7593 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5132, allocations: 0 / 0.7593 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5132, allocations: 0 / 0.7593 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5132, allocations: 4 kB / 0.7593 GB, free: 9.855 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.000519/0.5137, allocations: 0.5184 MB / 0.7598 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.5138, allocations: 12.03 kB / 0.7598 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/0.5138, allocations: 58.55 kB / 0.7599 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.5141, allocations: 47.64 kB / 0.7599 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.5143, allocations: 252.9 kB / 0.7602 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.5145, allocations: 139.3 kB / 0.7603 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.5145, allocations: 27.94 kB / 0.7604 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.5149, allocations: 290.8 kB / 0.7606 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5149, allocations: 0 / 0.7606 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.5149, allocations: 12 kB / 0.7606 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.5149, allocations: 7.984 kB / 0.7606 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.5152, allocations: 164.6 kB / 0.7608 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.5164, allocations: 1.583 MB / 0.7623 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.314e-05/0.5165, allocations: 165.1 kB / 0.7625 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.5165, allocations: 84.14 kB / 0.7626 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.5165, allocations: 75.28 kB / 0.7627 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.5166, allocations: 109.8 kB / 0.7628 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.5166, allocations: 7.938 kB / 0.7628 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.169e-05/0.5167, allocations: 53.41 kB / 0.7628 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.5167, allocations: 126.7 kB / 0.7629 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.517, allocations: 306.6 kB / 0.7632 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.517, allocations: 25.7 kB / 0.7633 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5172, allocations: 191.2 kB / 0.7634 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.5172, allocations: 3.984 kB / 0.7634 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.5172, allocations: 45.61 kB / 0.7635 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.5173, allocations: 330.8 kB / 0.7638 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/0.5174, allocations: 39.97 kB / 0.7638 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.5176, allocations: 157.1 kB / 0.764 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.5178, allocations: 192.9 kB / 0.7642 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5178, allocations: 4 kB / 0.7642 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003721/0.5182, allocations: 221.5 kB / 0.7644 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.5182, allocations: 4 kB / 0.7644 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.5182, allocations: 12.03 kB / 0.7644 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5182, allocations: 4 kB / 0.7644 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.5184, allocations: 35.92 kB / 0.7644 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.5184, allocations: 15.92 kB / 0.7645 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.5186, allocations: 27.69 kB / 0.7645 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.5186, allocations: 12 kB / 0.7645 GB, free: 4.121 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.0001162/0.5187, allocations: 217 kB / 0.7647 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.5188, allocations: 136.6 kB / 0.7648 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.5189, allocations: 129.8 kB / 0.765 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-05/0.5189, allocations: 181.1 kB / 0.7651 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.581e-05/0.519, allocations: 176.3 kB / 0.7653 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.637e-05/0.519, allocations: 176.3 kB / 0.7655 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.5193, allocations: 481.1 kB / 0.7659 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/0.5193, allocations: 120.9 kB / 0.766 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.5194, allocations: 108.9 kB / 0.7661 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.541e-05/0.5194, allocations: 176.3 kB / 0.7663 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.5195, allocations: 179.4 kB / 0.7665 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.834e-05/0.5195, allocations: 184.4 kB / 0.7667 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.577e-05/0.5196, allocations: 180.3 kB / 0.7668 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.5197, allocations: 327.6 kB / 0.7671 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/0.5198, allocations: 209.7 kB / 0.7673 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.445e-05/0.5199, allocations: 180.2 kB / 0.7675 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.52, allocations: 101 kB / 0.7676 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.52, allocations: 196.2 kB / 0.7678 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.5201, allocations: 105 kB / 0.7679 GB, free: 420 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002077/0.5203, allocations: 213.9 kB / 0.7681 GB, free: 208 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5203, allocations: 4 kB / 0.7681 GB, free: 204 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003376/0.5206, allocations: 51.94 kB / 0.7682 GB, free: 152 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.0005002/0.5212, allocations: 0.8592 MB / 0.769 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.5213, allocations: 79.78 kB / 0.7691 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5213, allocations: 0 / 0.7691 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.5214, allocations: 0 / 0.7691 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.5218, allocations: 490 kB / 0.7695 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.524, allocations: 2.514 MB / 0.772 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.5243, allocations: 0.7401 MB / 0.7727 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.5245, allocations: 35.03 kB / 0.7728 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.5245, allocations: 59.42 kB / 0.7728 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.5246, allocations: 0 / 0.7728 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.5423, allocations: 3.965 MB / 0.7767 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/7.382, allocations: 11.52 kB / 0.7767 GB, free: 7.277 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)