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.007969/0.007969, allocations: 99.53 kB / 15.73 MB, free: 6.496 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.001954/0.001954, allocations: 200.4 kB / 16.68 MB, free: 6.371 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8969/0.8969, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.91 kB / 0.5851 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.327, allocations: 80.9 MB / 0.6642 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1682/0.4953, allocations: 174 MB / 0.8341 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00863/0.5039, allocations: 9.511 MB / 0.8434 GB, free: 9.387 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.5042, allocations: 15.88 kB / 0.8434 GB, free: 9.371 MB / 0.67 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.0005559/0.5048, allocations: 193.3 kB / 0.8436 GB, free: 9.184 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.505, allocations: 87.38 kB / 0.8437 GB, free: 9.098 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.5051, allocations: 71.84 kB / 0.8437 GB, free: 9.027 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000315/0.5055, allocations: 314.7 kB / 0.844 GB, free: 8.719 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.5057, allocations: 148.5 kB / 0.8442 GB, free: 8.57 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.506, allocations: 159.4 kB / 0.8443 GB, free: 8.414 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.5062, allocations: 111.4 kB / 0.8444 GB, free: 8.305 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.5062, allocations: 16 kB / 0.8444 GB, free: 8.289 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 2.59e-05/0.5062, allocations: 16 kB / 0.8445 GB, free: 8.273 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.5063, allocations: 35.86 kB / 0.8445 GB, free: 8.238 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 8.073e-05/0.5063, allocations: 99.48 kB / 0.8446 GB, free: 8.141 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.5066, allocations: 220.2 kB / 0.8448 GB, free: 7.926 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5066, allocations: 0 / 0.8448 GB, free: 7.926 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5066, allocations: 4 kB / 0.8448 GB, free: 7.922 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.5066, allocations: 0 / 0.8448 GB, free: 7.922 MB / 0.67 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.0004081/0.507, allocations: 482.7 kB / 0.8453 GB, free: 7.402 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.507, allocations: 12.03 kB / 0.8453 GB, free: 7.391 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.5071, allocations: 50.55 kB / 0.8453 GB, free: 7.332 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.5071, allocations: 23.86 kB / 0.8453 GB, free: 7.309 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.5074, allocations: 264.2 kB / 0.8456 GB, free: 7.012 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.5075, allocations: 16.44 kB / 0.8456 GB, free: 6.996 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.5075, allocations: 16 kB / 0.8456 GB, free: 6.98 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.5078, allocations: 243.6 kB / 0.8459 GB, free: 6.703 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5078, allocations: 0 / 0.8459 GB, free: 6.703 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.5078, allocations: 12 kB / 0.8459 GB, free: 6.691 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.5079, allocations: 4 kB / 0.8459 GB, free: 6.688 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.508, allocations: 87.84 kB / 0.846 GB, free: 6.602 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008622/0.5089, allocations: 1.437 MB / 0.8474 GB, free: 5.078 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.5089, allocations: 169.1 kB / 0.8475 GB, free: 4.902 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.509, allocations: 84.17 kB / 0.8476 GB, free: 4.816 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.509, allocations: 75.28 kB / 0.8477 GB, free: 4.742 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.509, allocations: 109.8 kB / 0.8478 GB, free: 4.625 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.509, allocations: 4 kB / 0.8478 GB, free: 4.621 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 7.465e-05/0.5091, allocations: 45.56 kB / 0.8478 GB, free: 4.57 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.5092, allocations: 130.7 kB / 0.8479 GB, free: 4.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.5095, allocations: 287 kB / 0.8482 GB, free: 4.141 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.5095, allocations: 25.7 kB / 0.8482 GB, free: 4.109 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.5096, allocations: 151.9 kB / 0.8484 GB, free: 3.957 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.5096, allocations: 7.922 kB / 0.8484 GB, free: 3.949 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.5096, allocations: 17.72 kB / 0.8484 GB, free: 3.926 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.5097, allocations: 334.8 kB / 0.8487 GB, free: 3.59 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.5097, allocations: 4 kB / 0.8487 GB, free: 3.586 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.317e-05/0.5098, allocations: 31.42 kB / 0.8488 GB, free: 3.543 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.5098, allocations: 39.38 kB / 0.8488 GB, free: 3.492 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5098, allocations: 0 / 0.8488 GB, free: 3.492 MB / 0.67 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001175/0.5099, allocations: 73.48 kB / 0.8489 GB, free: 3.414 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.51, allocations: 4 kB / 0.8489 GB, free: 3.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.51, allocations: 0 / 0.8489 GB, free: 3.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.51, allocations: 4 kB / 0.8489 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.51, allocations: 8.109 kB / 0.8489 GB, free: 3.398 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.5101, allocations: 15.81 kB / 0.8489 GB, free: 3.383 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.5101, allocations: 23.91 kB / 0.8489 GB, free: 3.359 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.5101, allocations: 4 kB / 0.8489 GB, free: 3.355 MB / 0.67 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.993e-05/0.5102, allocations: 193.1 kB / 0.8491 GB, free: 3.156 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.5103, allocations: 132.8 kB / 0.8492 GB, free: 3.02 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.5104, allocations: 125.9 kB / 0.8494 GB, free: 2.891 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.871e-05/0.5104, allocations: 176.3 kB / 0.8495 GB, free: 2.711 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-05/0.5105, allocations: 184.2 kB / 0.8497 GB, free: 2.523 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.076e-05/0.5105, allocations: 184.2 kB / 0.8499 GB, free: 2.336 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.5108, allocations: 469.1 kB / 0.8503 GB, free: 1.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-05/0.5108, allocations: 104.9 kB / 0.8504 GB, free: 1.711 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.5109, allocations: 101 kB / 0.8505 GB, free: 1.605 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.891e-05/0.5109, allocations: 180.3 kB / 0.8507 GB, free: 1.422 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.511, allocations: 184.3 kB / 0.8509 GB, free: 1.234 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.043e-05/0.511, allocations: 176.3 kB / 0.851 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-05/0.5111, allocations: 196.1 kB / 0.8512 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.5112, allocations: 323.7 kB / 0.8515 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.5113, allocations: 209.9 kB / 0.8517 GB, free: 292 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/0.5114, allocations: 176.3 kB / 0.8519 GB, free: 108 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.5115, allocations: 104.9 kB / 0.852 GB, free: 16 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.5116, allocations: 192.2 kB / 0.8522 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.5116, allocations: 101.3 kB / 0.8523 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001744/0.5118, allocations: 205.9 kB / 0.8525 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5118, allocations: 4 kB / 0.8525 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002488/0.5121, allocations: 27.94 kB / 0.8525 GB, free: 15.47 MB / 0.6856 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.000322/0.5124, allocations: 0.8217 MB / 0.8533 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 5.752e-05/0.5125, allocations: 20.16 kB / 0.8533 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5125, allocations: 4.062 kB / 0.8533 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-06/0.5125, allocations: 7.938 kB / 0.8533 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.5132, allocations: 0.5316 MB / 0.8539 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.5151, allocations: 2.22 MB / 0.856 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.5153, allocations: 0.7206 MB / 0.8567 GB, free: 11 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 6.536e-05/0.5154, allocations: 17.95 kB / 0.8568 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.5155, allocations: 67.41 kB / 0.8568 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of SimCode: time 2.4e-07/0.5155, allocations: 0 / 0.8568 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.5339, allocations: 4.669 MB / 0.8614 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/8.074, allocations: 14.23 kB / 0.8614 GB, free: 6.359 MB / 0.6856 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)