Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_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.00125/0.00125, allocations: 108 kB / 15.61 MB, free: 152 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.001281/0.001281, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7372/0.7372, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.73 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3212, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1729/0.4941, allocations: 174 MB / 0.7502 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008727/0.5029, allocations: 9.526 MB / 0.7595 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.5031, allocations: 7.938 kB / 0.7595 GB, free: 9.332 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 (3) 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 (3) 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.0004789/0.5036, allocations: 193.1 kB / 0.7596 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.5038, allocations: 91.38 kB / 0.7597 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.504, allocations: 63.86 kB / 0.7598 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.5043, allocations: 334.5 kB / 0.7601 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.5046, allocations: 208.8 kB / 0.7603 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.5049, allocations: 163.4 kB / 0.7605 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.5051, allocations: 119.4 kB / 0.7606 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.5051, allocations: 28 kB / 0.7606 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.517e-05/0.5051, allocations: 20 kB / 0.7606 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.892e-05/0.5052, allocations: 79.8 kB / 0.7607 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.5053, allocations: 127.4 kB / 0.7608 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.5056, allocations: 267.1 kB / 0.7611 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5056, allocations: 3.938 kB / 0.7611 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.133e-06/0.5056, allocations: 0 / 0.7611 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.5056, allocations: 4 kB / 0.7611 GB, free: 7.664 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004508/0.5061, allocations: 0.5184 MB / 0.7616 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.5061, allocations: 12.03 kB / 0.7616 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.038e-05/0.5062, allocations: 62.48 kB / 0.7617 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.5062, allocations: 27.72 kB / 0.7617 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.5065, allocations: 270.4 kB / 0.762 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.5065, allocations: 20.56 kB / 0.762 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.5065, allocations: 24 kB / 0.762 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.507, allocations: 327.9 kB / 0.7623 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.507, allocations: 3.938 kB / 0.7623 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.507, allocations: 15.94 kB / 0.7623 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.507, allocations: 8 kB / 0.7623 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.5072, allocations: 139.8 kB / 0.7625 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.5084, allocations: 1.82 MB / 0.7642 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.642e-05/0.5084, allocations: 169.1 kB / 0.7644 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.5085, allocations: 84.14 kB / 0.7645 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.5085, allocations: 75.31 kB / 0.7646 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.5086, allocations: 113.8 kB / 0.7647 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.5086, allocations: 0 / 0.7647 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.752e-05/0.5086, allocations: 57.33 kB / 0.7647 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.5087, allocations: 126.7 kB / 0.7648 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.5091, allocations: 373.7 kB / 0.7652 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.5091, allocations: 25.7 kB / 0.7652 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.5092, allocations: 167.9 kB / 0.7654 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.5092, allocations: 7.875 kB / 0.7654 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.5092, allocations: 25.72 kB / 0.7654 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5093, allocations: 334.8 kB / 0.7657 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.5094, allocations: 4 kB / 0.7657 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.5094, allocations: 36.28 kB / 0.7658 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.5095, allocations: 48.17 kB / 0.7658 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.5095, allocations: 4 kB / 0.7658 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000128/0.5096, allocations: 81.41 kB / 0.7659 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5096, allocations: 8 kB / 0.7659 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.5096, allocations: 4 kB / 0.7659 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.5096, allocations: 4.156 kB / 0.7659 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.5097, allocations: 11.98 kB / 0.7659 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.5097, allocations: 4 kB / 0.7659 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.87e-05/0.5098, allocations: 31.59 kB / 0.766 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.5098, allocations: 0 / 0.766 GB, free: 2.328 MB / 0.5919 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.0001189/0.5099, allocations: 217 kB / 0.7662 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.51, allocations: 128.6 kB / 0.7663 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.389e-05/0.5101, allocations: 131 kB / 0.7664 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-05/0.5101, allocations: 184.2 kB / 0.7666 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-05/0.5102, allocations: 176.3 kB / 0.7668 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.524e-05/0.5102, allocations: 180.2 kB / 0.7669 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.5105, allocations: 497 kB / 0.7674 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.328e-05/0.5106, allocations: 101 kB / 0.7675 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.5106, allocations: 108.9 kB / 0.7676 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-05/0.5107, allocations: 180.2 kB / 0.7678 GB, free: 348 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/0.5107, allocations: 184.3 kB / 0.768 GB, free: 156 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-05/0.5108, allocations: 184.2 kB / 0.7681 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-05/0.5109, allocations: 180.3 kB / 0.7683 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.511, allocations: 339.3 kB / 0.7686 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.89e-05/0.5111, allocations: 209.7 kB / 0.7688 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/0.5112, allocations: 180.2 kB / 0.769 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.5113, allocations: 105 kB / 0.7691 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.5114, allocations: 180.5 kB / 0.7693 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.5114, allocations: 105 kB / 0.7694 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002431/0.5116, allocations: 271.2 kB / 0.7696 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.084e-06/0.5117, allocations: 0 / 0.7696 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002509/0.5119, allocations: 35.88 kB / 0.7697 GB, free: 14.31 MB / 0.6075 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.0003477/0.5123, allocations: 0.8445 MB / 0.7705 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.215e-05/0.5123, allocations: 15.94 kB / 0.7705 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5123, allocations: 0 / 0.7705 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.5123, allocations: 4 kB / 0.7705 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008011/0.5132, allocations: 0.5543 MB / 0.771 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.5156, allocations: 2.706 MB / 0.7737 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.5159, allocations: 0.7518 MB / 0.7744 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.498e-05/0.516, allocations: 34.97 kB / 0.7745 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.5161, allocations: 71.42 kB / 0.7745 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.5161, allocations: 0 / 0.7745 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.5366, allocations: 5.82 MB / 0.7802 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/7.289, allocations: 10.77 kB / 0.7802 GB, free: 3.516 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)