Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.001046/0.001046, allocations: 108 kB / 15.61 MB, free: 148 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.001042/0.001042, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8726/0.8726, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 60.12 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1335, allocations: 80.93 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.3723/0.5058, allocations: 174 MB / 0.7544 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008576/0.5144, allocations: 9.517 MB / 0.7637 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.5146, allocations: 11.94 kB / 0.7637 GB, free: 5.332 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 (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/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 (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/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.000536/0.5152, allocations: 186.7 kB / 0.7639 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.5155, allocations: 95.3 kB / 0.7639 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.5156, allocations: 67.91 kB / 0.764 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.516, allocations: 314.8 kB / 0.7643 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.5162, allocations: 145.4 kB / 0.7644 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.5166, allocations: 159.4 kB / 0.7646 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.5167, allocations: 99.44 kB / 0.7647 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.5167, allocations: 16 kB / 0.7647 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.934e-05/0.5167, allocations: 16 kB / 0.7647 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.5168, allocations: 39.84 kB / 0.7648 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.5169, allocations: 99.48 kB / 0.7649 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.5171, allocations: 211.2 kB / 0.7651 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5171, allocations: 3.938 kB / 0.7651 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5171, allocations: 0 / 0.7651 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.5171, allocations: 0 / 0.7651 GB, free: 3.91 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004066/0.5175, allocations: 478.9 kB / 0.7655 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.5176, allocations: 12.03 kB / 0.7655 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.5176, allocations: 50.55 kB / 0.7656 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.5177, allocations: 23.75 kB / 0.7656 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.5179, allocations: 265.2 kB / 0.7659 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.5179, allocations: 12.44 kB / 0.7659 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.518, allocations: 24 kB / 0.7659 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.5182, allocations: 227.8 kB / 0.7661 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5183, allocations: 3.938 kB / 0.7661 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.5183, allocations: 12 kB / 0.7661 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5183, allocations: 4 kB / 0.7661 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.5184, allocations: 99.77 kB / 0.7662 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/0.5193, allocations: 1.425 MB / 0.7676 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.139e-05/0.5194, allocations: 173.1 kB / 0.7678 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.5195, allocations: 88.17 kB / 0.7679 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.5195, allocations: 75.28 kB / 0.7679 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.5195, allocations: 105.8 kB / 0.768 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5195, allocations: 4 kB / 0.768 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.064e-05/0.5196, allocations: 49.36 kB / 0.7681 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.5197, allocations: 130.7 kB / 0.7682 GB, free: 440 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.52, allocations: 291 kB / 0.7685 GB, free: 144 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.52, allocations: 25.7 kB / 0.7685 GB, free: 112 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.5201, allocations: 140 kB / 0.7686 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-06/0.5201, allocations: 4 kB / 0.7687 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.5201, allocations: 13.72 kB / 0.7687 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5202, allocations: 342.8 kB / 0.769 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.5202, allocations: 0 / 0.769 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.5203, allocations: 31.42 kB / 0.769 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.5203, allocations: 39.36 kB / 0.7691 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.5203, allocations: 0 / 0.7691 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000119/0.5205, allocations: 73.36 kB / 0.7691 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.5205, allocations: 4 kB / 0.7691 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5205, allocations: 4 kB / 0.7691 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.5205, allocations: 0 / 0.7691 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.5206, allocations: 11.92 kB / 0.7691 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.5206, allocations: 4 kB / 0.7692 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.5206, allocations: 23.75 kB / 0.7692 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.5206, allocations: 11.94 kB / 0.7692 GB, free: 15.37 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.000102/0.5208, allocations: 197.1 kB / 0.7694 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.5208, allocations: 120.7 kB / 0.7695 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.5209, allocations: 125.9 kB / 0.7696 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-05/0.521, allocations: 176.3 kB / 0.7698 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-05/0.521, allocations: 196.2 kB / 0.77 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.555e-05/0.5211, allocations: 176.3 kB / 0.7701 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.5213, allocations: 465.1 kB / 0.7706 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/0.5214, allocations: 104.9 kB / 0.7707 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.5214, allocations: 113.1 kB / 0.7708 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.211e-05/0.5215, allocations: 184.1 kB / 0.771 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/0.5215, allocations: 181.5 kB / 0.7711 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-05/0.5216, allocations: 176.3 kB / 0.7713 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.026e-05/0.5217, allocations: 188.2 kB / 0.7715 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.5219, allocations: 327.8 kB / 0.7718 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.522, allocations: 205.8 kB / 0.772 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.5221, allocations: 184.2 kB / 0.7722 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.5223, allocations: 105 kB / 0.7723 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.5224, allocations: 176.3 kB / 0.7724 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.5224, allocations: 104.9 kB / 0.7725 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001997/0.5226, allocations: 217.9 kB / 0.7727 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5226, allocations: 0 / 0.7727 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000243/0.5229, allocations: 24 kB / 0.7728 GB, free: 11.48 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.0003438/0.5232, allocations: 0.8202 MB / 0.7736 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.713e-05/0.5233, allocations: 12.11 kB / 0.7736 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5233, allocations: 8.062 kB / 0.7736 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.5233, allocations: 0 / 0.7736 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.524, allocations: 0.5243 MB / 0.7741 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.526, allocations: 2.24 MB / 0.7763 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.5262, allocations: 0.7206 MB / 0.777 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.068e-05/0.5263, allocations: 29.97 kB / 0.777 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.5264, allocations: 59.41 kB / 0.7771 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.5264, allocations: 192 / 0.7771 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.5461, allocations: 4.605 MB / 0.7816 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/7.341, allocations: 15.02 kB / 0.7816 GB, free: 2.469 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_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_InletToAirMoistAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)