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.005093/0.005093, allocations: 98.39 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.205/1.205, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7235/0.7235, allocations: 132.2 MB / 422.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 62.38 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1381, allocations: 80.2 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.4955/0.6336, allocations: 147.9 MB / 0.8037 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004485/0.6382, allocations: 4.644 MB / 0.8082 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003167/0.6385, allocations: 4.812 kB / 0.8082 GB, free: 11.54 MB / 0.5919 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.0005915/0.6392, allocations: 177.2 kB / 0.8084 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.6395, allocations: 77.17 kB / 0.8085 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.6397, allocations: 69.2 kB / 0.8085 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.64, allocations: 303.9 kB / 0.8088 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.6403, allocations: 101.1 kB / 0.8089 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.6404, allocations: 107.6 kB / 0.809 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.6406, allocations: 131.7 kB / 0.8091 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.6406, allocations: 11.86 kB / 0.8091 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.174e-05/0.6407, allocations: 10.12 kB / 0.8092 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.6407, allocations: 28.83 kB / 0.8092 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.031e-05/0.6408, allocations: 75.97 kB / 0.8093 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.641, allocations: 168.3 kB / 0.8094 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.641, allocations: 0 / 0.8094 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.641, allocations: 0 / 0.8094 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.641, allocations: 0 / 0.8094 GB, free: 11.22 MB / 0.5919 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.0004629/0.6415, allocations: 451.7 kB / 0.8098 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6416, allocations: 14.19 kB / 0.8099 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.6416, allocations: 54.3 kB / 0.8099 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.6417, allocations: 23.11 kB / 0.8099 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.642, allocations: 251.7 kB / 0.8102 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.6421, allocations: 11.31 kB / 0.8102 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.6421, allocations: 20.56 kB / 0.8102 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.6424, allocations: 206.2 kB / 0.8104 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6424, allocations: 2.938 kB / 0.8104 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.6424, allocations: 3.688 kB / 0.8104 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.6424, allocations: 11.34 kB / 0.8104 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.6425, allocations: 66.39 kB / 0.8105 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009915/0.6435, allocations: 1.595 MB / 0.812 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.086e-05/0.6436, allocations: 165.1 kB / 0.8122 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.6437, allocations: 83.7 kB / 0.8123 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.6437, allocations: 77.34 kB / 0.8123 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.6438, allocations: 113.8 kB / 0.8125 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6438, allocations: 0 / 0.8125 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.414e-05/0.6439, allocations: 45.33 kB / 0.8125 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.6439, allocations: 126.7 kB / 0.8126 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.6442, allocations: 255.1 kB / 0.8129 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.6442, allocations: 25.7 kB / 0.8129 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.6443, allocations: 139.8 kB / 0.813 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.6443, allocations: 7.188 kB / 0.813 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.6443, allocations: 24.94 kB / 0.8131 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6444, allocations: 329 kB / 0.8134 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.6445, allocations: 10.16 kB / 0.8134 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.6445, allocations: 53.94 kB / 0.8134 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.072e-05/0.6446, allocations: 60.86 kB / 0.8135 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6446, allocations: 0 / 0.8135 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000151/0.6448, allocations: 96.38 kB / 0.8136 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.6448, allocations: 7.219 kB / 0.8136 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6448, allocations: 2.406 kB / 0.8136 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6448, allocations: 1.844 kB / 0.8136 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.6449, allocations: 11.25 kB / 0.8136 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6449, allocations: 4.766 kB / 0.8136 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/0.645, allocations: 16.56 kB / 0.8136 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.645, allocations: 2.906 kB / 0.8136 GB, free: 7.512 MB / 0.5919 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.0001117/0.6451, allocations: 210.5 kB / 0.8138 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.6452, allocations: 127.1 kB / 0.8139 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.6453, allocations: 116.9 kB / 0.8141 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.873e-05/0.6453, allocations: 182.9 kB / 0.8142 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.846e-05/0.6454, allocations: 178 kB / 0.8144 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.878e-05/0.6455, allocations: 184.2 kB / 0.8146 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.6457, allocations: 463.8 kB / 0.815 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/0.6458, allocations: 103.7 kB / 0.8151 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.6458, allocations: 104.9 kB / 0.8152 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.483e-05/0.6459, allocations: 176.3 kB / 0.8154 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/0.6459, allocations: 189.1 kB / 0.8156 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.435e-05/0.646, allocations: 176.3 kB / 0.8157 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.635e-05/0.6461, allocations: 182.5 kB / 0.8159 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.6462, allocations: 324.6 kB / 0.8162 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-05/0.6463, allocations: 202.4 kB / 0.8164 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.6464, allocations: 184.8 kB / 0.8166 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.6465, allocations: 101 kB / 0.8167 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.6466, allocations: 189 kB / 0.8169 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.6466, allocations: 108.9 kB / 0.817 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001492/0.6467, allocations: 175.6 kB / 0.8171 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6468, allocations: 0 / 0.8171 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002694/0.647, allocations: 19.31 kB / 0.8172 GB, free: 3.941 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.0004011/0.6475, allocations: 0.8343 MB / 0.818 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.362e-05/0.6475, allocations: 17.38 kB / 0.818 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6476, allocations: 4.062 kB / 0.818 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.6476, allocations: 4 kB / 0.818 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.6482, allocations: 0.5053 MB / 0.8185 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.6501, allocations: 2.042 MB / 0.8205 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.6504, allocations: 0.7132 MB / 0.8212 GB, free: 388 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.122e-05/0.6505, allocations: 18.91 kB / 0.8212 GB, free: 380 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.6506, allocations: 47.11 kB / 0.8212 GB, free: 340 kB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.6506, allocations: 1.312 kB / 0.8212 GB, free: 340 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.6736, allocations: 3.558 MB / 0.8247 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.666, allocations: 10.69 kB / 0.8247 GB, free: 14.54 MB / 0.6075 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)