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.001015/0.001015, 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.0009865/0.0009865, allocations: 194.5 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7121/0.7121, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.16 kB / 0.5019 GB, free: 8.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1242, allocations: 80.2 MB / 0.5802 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.3698/0.4941, allocations: 174 MB / 0.7501 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00821/0.5023, allocations: 9.505 MB / 0.7594 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.5026, allocations: 12.22 kB / 0.7594 GB, free: 11.21 MB / 0.5762 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.0006165/0.5032, allocations: 194.5 kB / 0.7596 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.5034, allocations: 85.66 kB / 0.7597 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.5036, allocations: 62.55 kB / 0.7597 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.5039, allocations: 322.6 kB / 0.76 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.5042, allocations: 152.5 kB / 0.7602 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.5045, allocations: 151.5 kB / 0.7603 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.5046, allocations: 103.4 kB / 0.7604 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.5046, allocations: 16 kB / 0.7604 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.161e-05/0.5047, allocations: 16 kB / 0.7605 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.5047, allocations: 35.86 kB / 0.7605 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.929e-05/0.5048, allocations: 99.48 kB / 0.7606 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.505, allocations: 207.2 kB / 0.7608 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.505, allocations: 4 kB / 0.7608 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.505, allocations: 0 / 0.7608 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.505, allocations: 0 / 0.7608 GB, free: 9.887 MB / 0.5762 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.0004032/0.5054, allocations: 478.9 kB / 0.7612 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.5055, allocations: 12.03 kB / 0.7613 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.5055, allocations: 54.53 kB / 0.7613 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.5056, allocations: 23.75 kB / 0.7613 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.5058, allocations: 253.5 kB / 0.7616 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.5058, allocations: 12.44 kB / 0.7616 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.5059, allocations: 27.94 kB / 0.7616 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.5062, allocations: 235.8 kB / 0.7618 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5062, allocations: 7.875 kB / 0.7618 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.5062, allocations: 8 kB / 0.7619 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.5062, allocations: 8 kB / 0.7619 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.5064, allocations: 83.84 kB / 0.7619 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008539/0.5072, allocations: 1.429 MB / 0.7633 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.514e-05/0.5073, allocations: 169.1 kB / 0.7635 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.5073, allocations: 88.17 kB / 0.7636 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.5074, allocations: 83.22 kB / 0.7637 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.5074, allocations: 109.8 kB / 0.7638 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.5074, allocations: 0 / 0.7638 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.107e-05/0.5075, allocations: 53.41 kB / 0.7638 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.5075, allocations: 126.7 kB / 0.7639 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.5078, allocations: 287 kB / 0.7642 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.5078, allocations: 29.7 kB / 0.7642 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.5079, allocations: 143.9 kB / 0.7644 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.5079, allocations: 0 / 0.7644 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.508, allocations: 17.7 kB / 0.7644 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.5081, allocations: 334.8 kB / 0.7647 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.5081, allocations: 11.98 kB / 0.7647 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/0.5081, allocations: 27.38 kB / 0.7647 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.911e-05/0.5082, allocations: 31.44 kB / 0.7648 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5082, allocations: 4 kB / 0.7648 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001214/0.5083, allocations: 79.91 kB / 0.7649 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.5083, allocations: 4.109 kB / 0.7649 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5083, allocations: 3.938 kB / 0.7649 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.5083, allocations: 4 kB / 0.7649 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.5084, allocations: 8 kB / 0.7649 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5084, allocations: 4 kB / 0.7649 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.5085, allocations: 19.69 kB / 0.7649 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.5085, allocations: 8.062 kB / 0.7649 GB, free: 5.352 MB / 0.5762 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.524e-05/0.5086, allocations: 205 kB / 0.7651 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.5087, allocations: 124.7 kB / 0.7652 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.5087, allocations: 121.9 kB / 0.7653 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-05/0.5088, allocations: 180.2 kB / 0.7655 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-05/0.5088, allocations: 180.3 kB / 0.7657 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.825e-05/0.5089, allocations: 188.2 kB / 0.7659 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.5091, allocations: 469.1 kB / 0.7663 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/0.5092, allocations: 101 kB / 0.7664 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.5092, allocations: 104.9 kB / 0.7665 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.121e-05/0.5093, allocations: 184.3 kB / 0.7667 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.5093, allocations: 184.2 kB / 0.7669 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-05/0.5094, allocations: 180.2 kB / 0.767 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.815e-05/0.5094, allocations: 180.3 kB / 0.7672 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.5095, allocations: 327.8 kB / 0.7675 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/0.5096, allocations: 205.8 kB / 0.7677 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.5097, allocations: 186.9 kB / 0.7679 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.5098, allocations: 109 kB / 0.768 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.5099, allocations: 184.2 kB / 0.7682 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.5099, allocations: 101 kB / 0.7683 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001732/0.5101, allocations: 213.8 kB / 0.7685 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5101, allocations: 0 / 0.7685 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002414/0.5103, allocations: 24 kB / 0.7685 GB, free: 1.457 MB / 0.5762 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.000309/0.5106, allocations: 0.828 MB / 0.7693 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.976e-05/0.5107, allocations: 11.94 kB / 0.7693 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5107, allocations: 256 / 0.7693 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.5107, allocations: 4 kB / 0.7693 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.5114, allocations: 0.532 MB / 0.7698 GB, free: 60 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.5134, allocations: 2.235 MB / 0.772 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.5136, allocations: 0.7245 MB / 0.7727 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.064e-05/0.5137, allocations: 21.94 kB / 0.7727 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.5138, allocations: 59.42 kB / 0.7728 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.5138, allocations: 0 / 0.7728 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1639/0.6777, allocations: 4.604 MB / 0.7773 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.638, allocations: 7.438 kB / 0.7773 GB, free: 8.449 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)