Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.007597/0.007597, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002015/0.002015, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.6 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001937, allocations: 71.89 kB / 0.5858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3254, allocations: 81.03 MB / 0.6649 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.199/0.5245, allocations: 174 MB / 0.8349 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.5353, allocations: 9.518 MB / 0.8442 GB, free: 8.668 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.5356, allocations: 11.94 kB / 0.8442 GB, free: 8.656 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 (3) 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 (3) 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.0005298/0.5361, allocations: 190.7 kB / 0.8443 GB, free: 8.469 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.5363, allocations: 87.31 kB / 0.8444 GB, free: 8.383 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.5365, allocations: 67.91 kB / 0.8445 GB, free: 8.316 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.5369, allocations: 326.6 kB / 0.8448 GB, free: 7.996 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.5373, allocations: 212.8 kB / 0.845 GB, free: 7.785 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.5376, allocations: 171.4 kB / 0.8452 GB, free: 7.617 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.5378, allocations: 115.4 kB / 0.8453 GB, free: 7.504 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.5378, allocations: 20 kB / 0.8453 GB, free: 7.484 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 4.217e-05/0.5379, allocations: 24 kB / 0.8453 GB, free: 7.461 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.538, allocations: 75.75 kB / 0.8454 GB, free: 7.387 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.5381, allocations: 127.3 kB / 0.8455 GB, free: 7.262 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.5384, allocations: 296 kB / 0.8458 GB, free: 6.973 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5385, allocations: 0 / 0.8458 GB, free: 6.973 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5385, allocations: 4 kB / 0.8458 GB, free: 6.969 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5385, allocations: 0 / 0.8458 GB, free: 6.969 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005665/0.539, allocations: 0.522 MB / 0.8463 GB, free: 6.398 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.5391, allocations: 8.031 kB / 0.8463 GB, free: 6.391 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.778e-05/0.5392, allocations: 70.48 kB / 0.8464 GB, free: 6.312 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.5392, allocations: 27.84 kB / 0.8464 GB, free: 6.285 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.5396, allocations: 282.4 kB / 0.8467 GB, free: 5.969 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.5396, allocations: 20.56 kB / 0.8467 GB, free: 5.949 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.5397, allocations: 24 kB / 0.8467 GB, free: 5.926 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.5402, allocations: 331.9 kB / 0.847 GB, free: 5.559 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5402, allocations: 3.938 kB / 0.8471 GB, free: 5.555 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.5402, allocations: 12 kB / 0.8471 GB, free: 5.543 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.5403, allocations: 8 kB / 0.8471 GB, free: 5.535 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.5405, allocations: 135.8 kB / 0.8472 GB, free: 5.402 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.542, allocations: 1.824 MB / 0.849 GB, free: 3.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.882e-05/0.5421, allocations: 173.1 kB / 0.8491 GB, free: 3.301 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.5421, allocations: 84.14 kB / 0.8492 GB, free: 3.215 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.5422, allocations: 83.28 kB / 0.8493 GB, free: 3.133 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/0.5422, allocations: 105.8 kB / 0.8494 GB, free: 3.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 3.086e-06/0.5423, allocations: 112 / 0.8494 GB, free: 3.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 9.211e-05/0.5424, allocations: 57.45 kB / 0.8495 GB, free: 2.957 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.5424, allocations: 126.7 kB / 0.8496 GB, free: 2.82 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.5429, allocations: 381.6 kB / 0.8499 GB, free: 2.445 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.5429, allocations: 25.7 kB / 0.85 GB, free: 2.414 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.543, allocations: 171.9 kB / 0.8501 GB, free: 2.242 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.5431, allocations: 0 / 0.8501 GB, free: 2.242 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.5431, allocations: 17.72 kB / 0.8502 GB, free: 2.219 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.5433, allocations: 342.8 kB / 0.8505 GB, free: 1.875 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.5433, allocations: 0 / 0.8505 GB, free: 1.875 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.5433, allocations: 48.28 kB / 0.8505 GB, free: 1.812 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.831e-05/0.5434, allocations: 40.23 kB / 0.8506 GB, free: 1.758 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5434, allocations: 0 / 0.8506 GB, free: 1.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001587/0.5436, allocations: 93.38 kB / 0.8507 GB, free: 1.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5436, allocations: 4 kB / 0.8507 GB, free: 1.656 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.5436, allocations: 0 / 0.8507 GB, free: 1.656 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5436, allocations: 4 kB / 0.8507 GB, free: 1.652 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.923e-05/0.5437, allocations: 15.97 kB / 0.8507 GB, free: 1.637 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.5437, allocations: 0 / 0.8507 GB, free: 1.637 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.5438, allocations: 23.78 kB / 0.8507 GB, free: 1.613 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.5438, allocations: 8 kB / 0.8507 GB, free: 1.605 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001619/0.5439, allocations: 221.1 kB / 0.8509 GB, free: 1.379 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/0.544, allocations: 128.8 kB / 0.851 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.882e-05/0.5441, allocations: 127 kB / 0.8512 GB, free: 1.113 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.422e-05/0.5442, allocations: 188.1 kB / 0.8513 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.575e-05/0.5443, allocations: 180.2 kB / 0.8515 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.803e-05/0.5444, allocations: 184.2 kB / 0.8517 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.5448, allocations: 493 kB / 0.8522 GB, free: 12 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.745e-05/0.5449, allocations: 101 kB / 0.8523 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.5449, allocations: 104.9 kB / 0.8524 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.188e-05/0.545, allocations: 180.3 kB / 0.8525 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.619e-05/0.5451, allocations: 184.2 kB / 0.8527 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.518e-05/0.5452, allocations: 188.3 kB / 0.8529 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.209e-05/0.5453, allocations: 176.3 kB / 0.853 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.5455, allocations: 331.5 kB / 0.8534 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.5456, allocations: 217.8 kB / 0.8536 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.5457, allocations: 188.5 kB / 0.8538 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.5459, allocations: 104.9 kB / 0.8539 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/0.546, allocations: 184.2 kB / 0.854 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.546, allocations: 101 kB / 0.8541 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003057/0.5463, allocations: 271.2 kB / 0.8544 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5463, allocations: 0 / 0.8544 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002651/0.5466, allocations: 31.94 kB / 0.8544 GB, free: 13.58 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.0004728/0.5471, allocations: 0.8398 MB / 0.8552 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.027e-05/0.5472, allocations: 11.94 kB / 0.8552 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5472, allocations: 0 / 0.8552 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.5472, allocations: 320 / 0.8552 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000858/0.548, allocations: 0.5556 MB / 0.8558 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.551, allocations: 2.691 MB / 0.8584 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.5514, allocations: 0.7518 MB / 0.8591 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.5515, allocations: 38.95 kB / 0.8592 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.5517, allocations: 71.42 kB / 0.8593 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of SimCode: time 2.3e-07/0.5517, allocations: 0 / 0.8593 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.5788, allocations: 5.912 MB / 0.865 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.735, allocations: 13.22 kB / 0.865 GB, free: 2.695 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_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_InletToAirMoistAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)