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.007551/0.007551, allocations: 97.23 kB / 15.73 MB, free: 6 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.002017/0.002017, allocations: 188.4 kB / 16.67 MB, free: 5.93 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9568/0.9568, allocations: 135.5 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.89 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3395, allocations: 81.02 MB / 0.6649 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1904/0.5299, allocations: 174 MB / 0.8348 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.5401, allocations: 9.515 MB / 0.8441 GB, free: 8.711 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.5403, allocations: 8 kB / 0.8441 GB, free: 8.703 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.0005736/0.5409, allocations: 190.7 kB / 0.8443 GB, free: 8.516 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.5411, allocations: 99.3 kB / 0.8444 GB, free: 8.418 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.5413, allocations: 59.92 kB / 0.8444 GB, free: 8.359 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0004037/0.5417, allocations: 314.7 kB / 0.8447 GB, free: 8.051 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.542, allocations: 152.5 kB / 0.8449 GB, free: 7.898 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.5423, allocations: 163.3 kB / 0.845 GB, free: 7.738 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.5425, allocations: 99.5 kB / 0.8451 GB, free: 7.641 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.5425, allocations: 16 kB / 0.8451 GB, free: 7.625 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 3.388e-05/0.5426, allocations: 16 kB / 0.8451 GB, free: 7.609 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.5426, allocations: 39.83 kB / 0.8452 GB, free: 7.57 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.5427, allocations: 103.5 kB / 0.8453 GB, free: 7.469 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.543, allocations: 216.2 kB / 0.8455 GB, free: 7.258 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.543, allocations: 0 / 0.8455 GB, free: 7.258 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.102e-06/0.543, allocations: 3.938 kB / 0.8455 GB, free: 7.254 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.543, allocations: 0 / 0.8455 GB, free: 7.254 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.0004875/0.5435, allocations: 482.8 kB / 0.8459 GB, free: 6.734 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.5435, allocations: 8.031 kB / 0.846 GB, free: 6.727 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.5436, allocations: 58.48 kB / 0.846 GB, free: 6.66 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.5436, allocations: 27.81 kB / 0.846 GB, free: 6.633 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.544, allocations: 256.2 kB / 0.8463 GB, free: 6.344 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.544, allocations: 16.44 kB / 0.8463 GB, free: 6.328 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.5441, allocations: 23.94 kB / 0.8463 GB, free: 6.305 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.5444, allocations: 235.8 kB / 0.8465 GB, free: 6.039 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5444, allocations: 3.938 kB / 0.8466 GB, free: 6.035 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.5444, allocations: 12 kB / 0.8466 GB, free: 6.023 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.5445, allocations: 4 kB / 0.8466 GB, free: 6.02 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.5446, allocations: 91.83 kB / 0.8467 GB, free: 5.93 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.5457, allocations: 1.433 MB / 0.8481 GB, free: 4.41 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.11e-05/0.5458, allocations: 173.1 kB / 0.8482 GB, free: 4.23 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.5459, allocations: 84.17 kB / 0.8483 GB, free: 4.145 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.5459, allocations: 75.28 kB / 0.8484 GB, free: 4.07 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/0.546, allocations: 109.8 kB / 0.8485 GB, free: 3.953 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.546, allocations: 0 / 0.8485 GB, free: 3.953 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 9.06e-05/0.5461, allocations: 53.5 kB / 0.8485 GB, free: 3.895 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.5462, allocations: 130.7 kB / 0.8487 GB, free: 3.754 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.5465, allocations: 287 kB / 0.8489 GB, free: 3.465 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.5465, allocations: 25.7 kB / 0.8489 GB, free: 3.434 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.5466, allocations: 148 kB / 0.8491 GB, free: 3.285 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.5466, allocations: 0 / 0.8491 GB, free: 3.285 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.5467, allocations: 17.72 kB / 0.8491 GB, free: 3.262 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5468, allocations: 330.8 kB / 0.8494 GB, free: 2.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.5468, allocations: 12 kB / 0.8494 GB, free: 2.918 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.5469, allocations: 23.44 kB / 0.8495 GB, free: 2.883 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.5469, allocations: 31.38 kB / 0.8495 GB, free: 2.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5469, allocations: 11.98 kB / 0.8495 GB, free: 2.828 MB / 0.67 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001257/0.5471, allocations: 73.44 kB / 0.8496 GB, free: 2.75 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.5471, allocations: 4.109 kB / 0.8496 GB, free: 2.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5471, allocations: 3.938 kB / 0.8496 GB, free: 2.742 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5471, allocations: 4 kB / 0.8496 GB, free: 2.738 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.171e-05/0.5472, allocations: 7.984 kB / 0.8496 GB, free: 2.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.5472, allocations: 7.938 kB / 0.8496 GB, free: 2.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.5472, allocations: 23.78 kB / 0.8496 GB, free: 2.699 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.5473, allocations: 4.062 kB / 0.8496 GB, free: 2.695 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 0.0001157/0.5474, allocations: 201.1 kB / 0.8498 GB, free: 2.488 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.71e-05/0.5475, allocations: 132.8 kB / 0.8499 GB, free: 2.352 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.974e-05/0.5475, allocations: 122 kB / 0.8501 GB, free: 2.227 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-05/0.5476, allocations: 180.2 kB / 0.8502 GB, free: 2.043 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.389e-05/0.5477, allocations: 188.1 kB / 0.8504 GB, free: 1.852 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.035e-05/0.5478, allocations: 180.3 kB / 0.8506 GB, free: 1.668 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.5481, allocations: 473.1 kB / 0.851 GB, free: 1.148 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.49e-05/0.5482, allocations: 101 kB / 0.8511 GB, free: 1.043 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.5482, allocations: 104.9 kB / 0.8512 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.462e-05/0.5483, allocations: 180.2 kB / 0.8514 GB, free: 0.75 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/0.5484, allocations: 184.3 kB / 0.8516 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.567e-05/0.5484, allocations: 184.2 kB / 0.8518 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.201e-05/0.5485, allocations: 184.2 kB / 0.8519 GB, free: 192 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.5487, allocations: 323.8 kB / 0.8522 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.5488, allocations: 202 kB / 0.8524 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/0.5489, allocations: 188.2 kB / 0.8526 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.549, allocations: 101 kB / 0.8527 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.5491, allocations: 188 kB / 0.8529 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.5492, allocations: 105.3 kB / 0.853 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002026/0.5494, allocations: 202 kB / 0.8532 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5494, allocations: 0 / 0.8532 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000244/0.5496, allocations: 27.94 kB / 0.8532 GB, free: 14.8 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.0004224/0.5501, allocations: 0.8281 MB / 0.854 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 6.221e-05/0.5501, allocations: 20.02 kB / 0.854 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5501, allocations: 256 / 0.854 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.5502, allocations: 7.938 kB / 0.854 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007544/0.5509, allocations: 0.5238 MB / 0.8545 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.5531, allocations: 2.224 MB / 0.8567 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.5534, allocations: 0.7245 MB / 0.8574 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 6.956e-05/0.5535, allocations: 21.94 kB / 0.8574 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.626e-05/0.5536, allocations: 63.36 kB / 0.8575 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of SimCode: time 2.41e-07/0.5536, allocations: 4 kB / 0.8575 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.5781, allocations: 4.672 MB / 0.8621 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.544, allocations: 8.391 kB / 0.8621 GB, free: 5.691 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)