Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.InletToAirMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_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.004258/0.004258, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.001007/0.001007, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.214/1.214, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6967/0.6967, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.17 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1355, allocations: 80.21 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.483/0.6186, allocations: 174 MB / 0.8291 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007319/0.6259, allocations: 9.517 MB / 0.8384 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.6262, allocations: 9.625 kB / 0.8384 GB, free: 2.738 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.0005456/0.6268, allocations: 192.4 kB / 0.8386 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.627, allocations: 99.36 kB / 0.8387 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.6271, allocations: 68.06 kB / 0.8387 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.6275, allocations: 319.3 kB / 0.839 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.6277, allocations: 154.6 kB / 0.8392 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.628, allocations: 157.4 kB / 0.8393 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.6281, allocations: 105.4 kB / 0.8394 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.6281, allocations: 16.16 kB / 0.8395 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 2.975e-05/0.6282, allocations: 16.06 kB / 0.8395 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.6282, allocations: 35.06 kB / 0.8395 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.64e-05/0.6283, allocations: 98.05 kB / 0.8396 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.6285, allocations: 220.4 kB / 0.8398 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6285, allocations: 0 / 0.8398 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.163e-06/0.6285, allocations: 3.094 kB / 0.8398 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.6285, allocations: 0 / 0.8398 GB, free: 2.699 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003489/0.6289, allocations: 482 kB / 0.8403 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6289, allocations: 9.625 kB / 0.8403 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.629, allocations: 53.17 kB / 0.8403 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.629, allocations: 24.23 kB / 0.8404 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.6293, allocations: 266.1 kB / 0.8406 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.6293, allocations: 19.59 kB / 0.8406 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.6293, allocations: 20.28 kB / 0.8406 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.6296, allocations: 227.2 kB / 0.8409 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.6296, allocations: 5.469 kB / 0.8409 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.6297, allocations: 9.5 kB / 0.8409 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.6297, allocations: 5.25 kB / 0.8409 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.6298, allocations: 92.22 kB / 0.841 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008036/0.6306, allocations: 1.437 MB / 0.8424 GB, free: 16.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/0.6307, allocations: 172.4 kB / 0.8425 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.6307, allocations: 81.98 kB / 0.8426 GB, free: 16.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.6307, allocations: 79.84 kB / 0.8427 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.6308, allocations: 107.8 kB / 0.8428 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.6308, allocations: 0.75 kB / 0.8428 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.328e-05/0.6309, allocations: 54.33 kB / 0.8428 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.6309, allocations: 131.9 kB / 0.843 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.6312, allocations: 286.1 kB / 0.8432 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.6312, allocations: 25.7 kB / 0.8433 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.6313, allocations: 147.4 kB / 0.8434 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.6313, allocations: 0 / 0.8434 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.6313, allocations: 18.89 kB / 0.8434 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.6314, allocations: 333.1 kB / 0.8437 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.6314, allocations: 7.531 kB / 0.8438 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.6315, allocations: 28.25 kB / 0.8438 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.614e-05/0.6315, allocations: 41.86 kB / 0.8438 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6315, allocations: 2.328 kB / 0.8438 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001145/0.6316, allocations: 75.45 kB / 0.8439 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6316, allocations: 8.719 kB / 0.8439 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.6316, allocations: 1.406 kB / 0.8439 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.6317, allocations: 1.406 kB / 0.8439 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.012e-05/0.6317, allocations: 8.75 kB / 0.8439 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.6317, allocations: 2.312 kB / 0.8439 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.6318, allocations: 23.25 kB / 0.8439 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.6318, allocations: 2.781 kB / 0.8439 GB, free: 15.38 MB / 0.6544 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 9.542e-05/0.6319, allocations: 202.8 kB / 0.8441 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.632, allocations: 129.8 kB / 0.8443 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.632, allocations: 121.7 kB / 0.8444 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/0.6321, allocations: 187 kB / 0.8446 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.536e-05/0.6321, allocations: 179.5 kB / 0.8447 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-05/0.6322, allocations: 180.6 kB / 0.8449 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.6324, allocations: 470 kB / 0.8453 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-05/0.6325, allocations: 112.8 kB / 0.8455 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.6325, allocations: 106.6 kB / 0.8456 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.994e-05/0.6326, allocations: 180.3 kB / 0.8457 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.6326, allocations: 178.5 kB / 0.8459 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.903e-05/0.6327, allocations: 181.5 kB / 0.8461 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.412e-05/0.6327, allocations: 182.6 kB / 0.8462 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.6328, allocations: 325.9 kB / 0.8466 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.6329, allocations: 205.9 kB / 0.8468 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.29e-05/0.633, allocations: 181.3 kB / 0.8469 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.49e-05/0.6331, allocations: 105.3 kB / 0.847 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.6331, allocations: 181.6 kB / 0.8472 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.6332, allocations: 105.5 kB / 0.8473 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001569/0.6333, allocations: 208 kB / 0.8475 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6334, allocations: 0.9688 kB / 0.8475 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002464/0.6336, allocations: 25.95 kB / 0.8475 GB, free: 11.86 MB / 0.6544 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.0003115/0.6339, allocations: 0.836 MB / 0.8483 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.812e-05/0.634, allocations: 14.39 kB / 0.8484 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.634, allocations: 0 / 0.8484 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-06/0.634, allocations: 2.312 kB / 0.8484 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.6347, allocations: 0.5328 MB / 0.8489 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.6364, allocations: 2.231 MB / 0.8511 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.6367, allocations: 0.7218 MB / 0.8518 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.544e-05/0.6368, allocations: 25.09 kB / 0.8518 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.6368, allocations: 57.52 kB / 0.8518 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6368, allocations: 1.125 kB / 0.8518 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.6551, allocations: 4.666 MB / 0.8564 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.634, allocations: 6.359 kB / 0.8564 GB, free: 7.977 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)