Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.001447/0.001446, allocations: 112.5 kB / 15.73 MB, free: 76 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.001551/0.001551, allocations: 190.6 kB / 16.67 MB, free: 6.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.196/2.196, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.32/1.32, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 63.91 kB / 0.5809 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.612, allocations: 80.21 MB / 0.6592 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.2922/0.9042, allocations: 147.9 MB / 0.8037 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009287/0.9136, allocations: 4.646 MB / 0.8082 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005391/0.9142, allocations: 11.94 kB / 0.8082 GB, free: 13.09 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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/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/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.000977/0.9153, allocations: 174 kB / 0.8084 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0005251/0.9158, allocations: 79.44 kB / 0.8085 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.9161, allocations: 63.92 kB / 0.8085 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.9167, allocations: 298.6 kB / 0.8088 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.9171, allocations: 106.7 kB / 0.8089 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.9174, allocations: 107.6 kB / 0.809 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.9177, allocations: 127.5 kB / 0.8091 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.9178, allocations: 12 kB / 0.8091 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.9178, allocations: 12 kB / 0.8092 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.9179, allocations: 27.86 kB / 0.8092 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.918, allocations: 67.62 kB / 0.8092 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.9184, allocations: 170.8 kB / 0.8094 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.9184, allocations: 0 / 0.8094 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9184, allocations: 0 / 0.8094 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.9185, allocations: 4 kB / 0.8094 GB, free: 11.86 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007411/0.9192, allocations: 450.7 kB / 0.8098 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.9193, allocations: 8.031 kB / 0.8099 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.604e-05/0.9194, allocations: 50.73 kB / 0.8099 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.9194, allocations: 16.84 kB / 0.8099 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/0.9201, allocations: 260 kB / 0.8102 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.9201, allocations: 12 kB / 0.8102 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.9201, allocations: 12 kB / 0.8102 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.9206, allocations: 216.5 kB / 0.8104 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.9207, allocations: 3.938 kB / 0.8104 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.9207, allocations: 8 kB / 0.8104 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.9207, allocations: 4 kB / 0.8104 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.9209, allocations: 67.8 kB / 0.8105 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.9228, allocations: 1.594 MB / 0.812 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.923, allocations: 177 kB / 0.8122 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.841e-05/0.9231, allocations: 84.14 kB / 0.8123 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.657e-05/0.9231, allocations: 79.28 kB / 0.8124 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.583e-05/0.9232, allocations: 105.8 kB / 0.8125 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 2.445e-06/0.9232, allocations: 0 / 0.8125 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001618/0.9234, allocations: 49.59 kB / 0.8125 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.9235, allocations: 126.7 kB / 0.8126 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.924, allocations: 254.6 kB / 0.8129 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.924, allocations: 33.64 kB / 0.8129 GB, free: 8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.9242, allocations: 139.8 kB / 0.813 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.9242, allocations: 4 kB / 0.813 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.9243, allocations: 29.66 kB / 0.8131 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002336/0.9245, allocations: 326.8 kB / 0.8134 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.9246, allocations: 8 kB / 0.8134 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/0.9247, allocations: 50 kB / 0.8134 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.9248, allocations: 57.95 kB / 0.8135 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9248, allocations: 3.938 kB / 0.8135 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002768/0.9251, allocations: 85.47 kB / 0.8136 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.9251, allocations: 8 kB / 0.8136 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.9252, allocations: 0 / 0.8136 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.9252, allocations: 7.984 kB / 0.8136 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.9253, allocations: 8.219 kB / 0.8136 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.9254, allocations: 8 kB / 0.8136 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.9255, allocations: 23.78 kB / 0.8136 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.9255, allocations: 4 kB / 0.8136 GB, free: 7.184 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0002204/0.9257, allocations: 205 kB / 0.8138 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.9259, allocations: 116.9 kB / 0.8139 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.926, allocations: 125.8 kB / 0.8141 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001214/0.9262, allocations: 184.2 kB / 0.8142 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001137/0.9263, allocations: 176.3 kB / 0.8144 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001155/0.9264, allocations: 180.2 kB / 0.8146 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.9269, allocations: 461.1 kB / 0.815 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-05/0.927, allocations: 104.9 kB / 0.8151 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.9271, allocations: 101 kB / 0.8152 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.9272, allocations: 184.2 kB / 0.8154 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.9274, allocations: 180.3 kB / 0.8156 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001093/0.9275, allocations: 180.2 kB / 0.8157 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001224/0.9276, allocations: 184.2 kB / 0.8159 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.9279, allocations: 331.6 kB / 0.8162 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.9281, allocations: 198 kB / 0.8164 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.9283, allocations: 176.3 kB / 0.8166 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.9285, allocations: 108.9 kB / 0.8167 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.9286, allocations: 184.2 kB / 0.8169 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-05/0.9287, allocations: 104.9 kB / 0.817 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003129/0.929, allocations: 186 kB / 0.8171 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.929, allocations: 3.938 kB / 0.8171 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004656/0.9295, allocations: 20 kB / 0.8172 GB, free: 3.352 MB / 0.6387 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.000747/0.9303, allocations: 0.8242 MB / 0.818 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.9304, allocations: 24.3 kB / 0.818 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9305, allocations: 0 / 0.818 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.521e-06/0.9305, allocations: 3.938 kB / 0.818 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.9316, allocations: 0.5023 MB / 0.8185 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.9349, allocations: 2.044 MB / 0.8205 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.9354, allocations: 0.7124 MB / 0.8212 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.9356, allocations: 25.47 kB / 0.8212 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.9357, allocations: 43.42 kB / 0.8212 GB, free: 15 MB / 0.6544 GB Notification: Performance of SimCode: time 6.12e-07/0.9357, allocations: 0 / 0.8212 GB, free: 15 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/0.9738, allocations: 3.555 MB / 0.8247 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/13, allocations: 14.11 kB / 0.8247 GB, free: 11.58 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir_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_InletToAirDryAir.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)