Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.001214/0.001214, 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.001335/0.001335, allocations: 194.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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7212/0.7212, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 62.8 kB / 0.5019 GB, free: 8.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1378, allocations: 80.21 MB / 0.5802 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.3542/0.4921, allocations: 148 MB / 0.7247 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004816/0.4969, allocations: 4.635 MB / 0.7292 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.4972, allocations: 10.97 kB / 0.7292 GB, free: 3.195 MB / 0.545 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.0005073/0.4977, allocations: 158.7 kB / 0.7294 GB, free: 3.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.4979, allocations: 87.41 kB / 0.7295 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.4981, allocations: 69.27 kB / 0.7295 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.4984, allocations: 290.6 kB / 0.7298 GB, free: 2.855 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.4986, allocations: 111.2 kB / 0.7299 GB, free: 2.793 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.4988, allocations: 101 kB / 0.73 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.499, allocations: 129.2 kB / 0.7301 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.499, allocations: 14.7 kB / 0.7301 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.568e-05/0.499, allocations: 11.44 kB / 0.7301 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.499, allocations: 29.83 kB / 0.7302 GB, free: 2.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.4991, allocations: 76.23 kB / 0.7303 GB, free: 2.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.4993, allocations: 149.2 kB / 0.7304 GB, free: 2.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4993, allocations: 4 kB / 0.7304 GB, free: 2.555 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4993, allocations: 1.156 kB / 0.7304 GB, free: 2.555 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.4993, allocations: 0 / 0.7304 GB, free: 2.555 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003852/0.4997, allocations: 443.8 kB / 0.7308 GB, free: 2.141 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.4997, allocations: 10.34 kB / 0.7308 GB, free: 2.141 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.4998, allocations: 49.98 kB / 0.7309 GB, free: 2.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.4998, allocations: 21.97 kB / 0.7309 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.5, allocations: 245.5 kB / 0.7311 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.5001, allocations: 22.12 kB / 0.7312 GB, free: 1.828 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.5001, allocations: 17.41 kB / 0.7312 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.5003, allocations: 210 kB / 0.7314 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.5004, allocations: 1.344 kB / 0.7314 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.5004, allocations: 9.969 kB / 0.7314 GB, free: 1.633 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5004, allocations: 3.562 kB / 0.7314 GB, free: 1.633 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.5005, allocations: 74.92 kB / 0.7315 GB, free: 1.602 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008671/0.5014, allocations: 1.589 MB / 0.733 GB, free: 64 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/0.5015, allocations: 166.6 kB / 0.7332 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.5015, allocations: 84.14 kB / 0.7332 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.5015, allocations: 76.88 kB / 0.7333 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.5016, allocations: 111.1 kB / 0.7334 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5016, allocations: 0 / 0.7334 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.83e-05/0.5016, allocations: 42.52 kB / 0.7335 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.5017, allocations: 127.7 kB / 0.7336 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.5019, allocations: 247.4 kB / 0.7338 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.5019, allocations: 29.7 kB / 0.7339 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.502, allocations: 144.2 kB / 0.734 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-06/0.502, allocations: 2.031 kB / 0.734 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.5021, allocations: 21.19 kB / 0.734 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5022, allocations: 329 kB / 0.7343 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.5022, allocations: 3.453 kB / 0.7343 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.5023, allocations: 59.02 kB / 0.7344 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.451e-05/0.5023, allocations: 66.25 kB / 0.7345 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5023, allocations: 1.375 kB / 0.7345 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001526/0.5025, allocations: 86.69 kB / 0.7345 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.5025, allocations: 5.469 kB / 0.7345 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5025, allocations: 6.812 kB / 0.7345 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.5025, allocations: 1.688 kB / 0.7345 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.5026, allocations: 12.5 kB / 0.7346 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5026, allocations: 6.641 kB / 0.7346 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.5027, allocations: 22.25 kB / 0.7346 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.5027, allocations: 2.312 kB / 0.7346 GB, free: 14.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001038/0.5028, allocations: 208.9 kB / 0.7348 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.5029, allocations: 121.8 kB / 0.7349 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.5029, allocations: 123.7 kB / 0.735 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.793e-05/0.503, allocations: 185.7 kB / 0.7352 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.355e-05/0.5031, allocations: 178.1 kB / 0.7354 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.149e-05/0.5031, allocations: 183.9 kB / 0.7355 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.5034, allocations: 457.4 kB / 0.736 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.147e-05/0.5034, allocations: 105.7 kB / 0.7361 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.5035, allocations: 106.7 kB / 0.7362 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.244e-05/0.5035, allocations: 186.3 kB / 0.7364 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.581e-05/0.5036, allocations: 181.3 kB / 0.7365 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.537e-05/0.5037, allocations: 178.3 kB / 0.7367 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.723e-05/0.5038, allocations: 178.7 kB / 0.7369 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.5039, allocations: 328.3 kB / 0.7372 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.954e-05/0.504, allocations: 197.3 kB / 0.7374 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.5041, allocations: 181.2 kB / 0.7375 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.5042, allocations: 106.4 kB / 0.7377 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.5042, allocations: 186.8 kB / 0.7378 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.5043, allocations: 101.7 kB / 0.7379 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001619/0.5044, allocations: 183.6 kB / 0.7381 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5044, allocations: 0 / 0.7381 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002423/0.5047, allocations: 19.72 kB / 0.7381 GB, free: 10.93 MB / 0.5606 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.0003587/0.5051, allocations: 0.8256 MB / 0.7389 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.273e-05/0.5051, allocations: 25.34 kB / 0.7389 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5051, allocations: 0 / 0.7389 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.5051, allocations: 1.375 kB / 0.739 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.5058, allocations: 0.5032 MB / 0.7394 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.5075, allocations: 2.052 MB / 0.7414 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.5077, allocations: 0.7119 MB / 0.7421 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.38e-05/0.5078, allocations: 19.53 kB / 0.7422 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.5079, allocations: 44.5 kB / 0.7422 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of SimCode: time 1.563e-06/0.5079, allocations: 0 / 0.7422 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.5264, allocations: 3.508 MB / 0.7456 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.755/7.282, allocations: 19.48 kB / 0.7456 GB, free: 5.969 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir_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_InletToAirDryAir.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)