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.001048/0.001048, allocations: 108 kB / 15.6 MB, free: 132 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.001028/0.001027, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7369/0.7369, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 68 kB / 0.5019 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3211, allocations: 80.19 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1705/0.4917, allocations: 174 MB / 0.7501 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008487/0.5002, allocations: 9.507 MB / 0.7594 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.5004, allocations: 11.94 kB / 0.7594 GB, free: 9.336 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.0005106/0.5009, allocations: 198.7 kB / 0.7596 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.5011, allocations: 87.38 kB / 0.7597 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.5013, allocations: 59.92 kB / 0.7597 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.5016, allocations: 326.4 kB / 0.76 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.5018, allocations: 152.5 kB / 0.7602 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.5021, allocations: 159.4 kB / 0.7603 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.5023, allocations: 99.48 kB / 0.7604 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.5023, allocations: 16 kB / 0.7604 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.891e-05/0.5023, allocations: 19.94 kB / 0.7605 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.5024, allocations: 39.86 kB / 0.7605 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.647e-05/0.5025, allocations: 95.55 kB / 0.7606 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.5026, allocations: 199.3 kB / 0.7608 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.5027, allocations: 4 kB / 0.7608 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5027, allocations: 0 / 0.7608 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.5027, allocations: 0 / 0.7608 GB, free: 7.906 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004103/0.5031, allocations: 486.9 kB / 0.7613 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.5031, allocations: 8.031 kB / 0.7613 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.5032, allocations: 62.42 kB / 0.7613 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.5032, allocations: 15.81 kB / 0.7613 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.5035, allocations: 254.5 kB / 0.7616 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.5035, allocations: 16.44 kB / 0.7616 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.5035, allocations: 19.94 kB / 0.7616 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.5038, allocations: 239.7 kB / 0.7618 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.5038, allocations: 0 / 0.7618 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.5039, allocations: 12 kB / 0.7619 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.5039, allocations: 4 kB / 0.7619 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.504, allocations: 87.84 kB / 0.7619 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008985/0.5049, allocations: 1.433 MB / 0.7633 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.372e-05/0.505, allocations: 169.1 kB / 0.7635 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.505, allocations: 84.14 kB / 0.7636 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.5051, allocations: 79.22 kB / 0.7637 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.5051, allocations: 105.8 kB / 0.7638 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.5051, allocations: 0 / 0.7638 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.319e-05/0.5052, allocations: 49.45 kB / 0.7638 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.5052, allocations: 130.7 kB / 0.7639 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.5055, allocations: 298.9 kB / 0.7642 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.5055, allocations: 25.7 kB / 0.7642 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5056, allocations: 139.9 kB / 0.7644 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.5056, allocations: 4 kB / 0.7644 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.5057, allocations: 17.72 kB / 0.7644 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5058, allocations: 330.8 kB / 0.7647 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.5058, allocations: 4 kB / 0.7647 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/0.5058, allocations: 39.47 kB / 0.7648 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.174e-05/0.5059, allocations: 39.31 kB / 0.7648 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5059, allocations: 0 / 0.7648 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001145/0.506, allocations: 73.47 kB / 0.7649 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.506, allocations: 8 kB / 0.7649 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.506, allocations: 4 kB / 0.7649 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.5061, allocations: 0 / 0.7649 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.93e-05/0.5061, allocations: 8 kB / 0.7649 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.5061, allocations: 0 / 0.7649 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.5062, allocations: 23.72 kB / 0.7649 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.5062, allocations: 4 kB / 0.7649 GB, free: 3.363 MB / 0.5919 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 0.0001022/0.5063, allocations: 201.1 kB / 0.7651 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/0.5064, allocations: 132.7 kB / 0.7652 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.5064, allocations: 125.9 kB / 0.7653 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.566e-05/0.5065, allocations: 180.2 kB / 0.7655 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.439e-05/0.5066, allocations: 180.3 kB / 0.7657 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.987e-05/0.5066, allocations: 184.1 kB / 0.7659 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.5069, allocations: 473.1 kB / 0.7663 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-05/0.5069, allocations: 104.9 kB / 0.7664 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.507, allocations: 108.9 kB / 0.7665 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.295e-05/0.507, allocations: 176.3 kB / 0.7667 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.5071, allocations: 180.2 kB / 0.7669 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.234e-05/0.5071, allocations: 176.3 kB / 0.767 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.007e-05/0.5072, allocations: 188.2 kB / 0.7672 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.5073, allocations: 327.5 kB / 0.7675 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.5074, allocations: 205.7 kB / 0.7677 GB, free: 296 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/0.5075, allocations: 176.3 kB / 0.7679 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.276e-05/0.5076, allocations: 105 kB / 0.768 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.5077, allocations: 188.2 kB / 0.7682 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.5077, allocations: 109 kB / 0.7683 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001795/0.5079, allocations: 206 kB / 0.7685 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5079, allocations: 0 / 0.7685 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002417/0.5082, allocations: 20 kB / 0.7685 GB, free: 15.47 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.0003352/0.5085, allocations: 0.8347 MB / 0.7693 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.895e-05/0.5086, allocations: 11.94 kB / 0.7693 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5086, allocations: 0 / 0.7693 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.5086, allocations: 4 kB / 0.7693 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007576/0.5093, allocations: 0.5431 MB / 0.7698 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.5113, allocations: 2.229 MB / 0.772 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.5116, allocations: 0.7206 MB / 0.7727 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.705e-05/0.5117, allocations: 25.88 kB / 0.7727 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.5118, allocations: 59.42 kB / 0.7728 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.5118, allocations: 0 / 0.7728 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.5314, allocations: 4.596 MB / 0.7773 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.727/7.258, allocations: 13.83 kB / 0.7773 GB, free: 6.438 MB / 0.6075 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)