Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_dev_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.001044/0.001044, 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.001061/0.001061, allocations: 194.4 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.285/1.285, 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-master/package.mo): time 0.8801/0.8801, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.72 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1288, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.348/0.4768, allocations: 147.9 MB / 0.7289 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005184/0.4821, allocations: 4.636 MB / 0.7335 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.4824, allocations: 11.31 kB / 0.7335 GB, free: 14.36 MB / 0.5606 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.0005632/0.4829, allocations: 160.8 kB / 0.7336 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.4832, allocations: 87.8 kB / 0.7337 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.4834, allocations: 61.12 kB / 0.7338 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.4838, allocations: 300 kB / 0.7341 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.484, allocations: 107.8 kB / 0.7342 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.4842, allocations: 101.5 kB / 0.7343 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.4844, allocations: 141.4 kB / 0.7344 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.4844, allocations: 10.84 kB / 0.7344 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.943e-05/0.4845, allocations: 9.781 kB / 0.7344 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.4845, allocations: 24.89 kB / 0.7344 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.4846, allocations: 76.59 kB / 0.7345 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.4848, allocations: 148.2 kB / 0.7347 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4848, allocations: 1.062 kB / 0.7347 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4848, allocations: 0 / 0.7347 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.4848, allocations: 0 / 0.7347 GB, free: 13.72 MB / 0.5606 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.0003906/0.4852, allocations: 451.9 kB / 0.7351 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.4852, allocations: 10.22 kB / 0.7351 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.4853, allocations: 49.45 kB / 0.7351 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.4853, allocations: 18.31 kB / 0.7352 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.4855, allocations: 251.5 kB / 0.7354 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4856, allocations: 13.09 kB / 0.7354 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.4856, allocations: 14.47 kB / 0.7354 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.4858, allocations: 209.6 kB / 0.7356 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.4858, allocations: 0 / 0.7356 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.4859, allocations: 10.53 kB / 0.7356 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.4859, allocations: 4.562 kB / 0.7356 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.486, allocations: 74.5 kB / 0.7357 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000837/0.4868, allocations: 1.594 MB / 0.7373 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.143e-05/0.4869, allocations: 166.5 kB / 0.7374 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.4869, allocations: 80.14 kB / 0.7375 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.487, allocations: 76.78 kB / 0.7376 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.487, allocations: 113.8 kB / 0.7377 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.487, allocations: 0 / 0.7377 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.073e-05/0.4871, allocations: 49 kB / 0.7377 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.4871, allocations: 130.7 kB / 0.7379 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.4874, allocations: 243.4 kB / 0.7381 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.4874, allocations: 29.64 kB / 0.7381 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.4875, allocations: 143.9 kB / 0.7383 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.4875, allocations: 4.969 kB / 0.7383 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.4875, allocations: 29.3 kB / 0.7383 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.4876, allocations: 327.3 kB / 0.7386 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.4876, allocations: 6.359 kB / 0.7386 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.4877, allocations: 50.66 kB / 0.7387 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.314e-05/0.4877, allocations: 65.67 kB / 0.7387 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4877, allocations: 0 / 0.7387 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001442/0.4879, allocations: 97.3 kB / 0.7388 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4879, allocations: 5.75 kB / 0.7388 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4879, allocations: 1.281 kB / 0.7388 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4879, allocations: 2.469 kB / 0.7388 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.488, allocations: 10.56 kB / 0.7388 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.488, allocations: 4.734 kB / 0.7388 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.871e-05/0.4881, allocations: 17.41 kB / 0.7389 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.4881, allocations: 3.406 kB / 0.7389 GB, free: 9.734 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 9.605e-05/0.4882, allocations: 207.8 kB / 0.7391 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.4883, allocations: 121.7 kB / 0.7392 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.4883, allocations: 119.5 kB / 0.7393 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.815e-05/0.4884, allocations: 185.1 kB / 0.7395 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.834e-05/0.4884, allocations: 179.6 kB / 0.7396 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.857e-05/0.4885, allocations: 185.1 kB / 0.7398 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.4887, allocations: 454.4 kB / 0.7402 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/0.4888, allocations: 106.1 kB / 0.7403 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.4888, allocations: 112.6 kB / 0.7404 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.6e-05/0.4888, allocations: 177.6 kB / 0.7406 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/0.4889, allocations: 183.7 kB / 0.7408 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.426e-05/0.4889, allocations: 180.3 kB / 0.741 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-05/0.489, allocations: 177.3 kB / 0.7411 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.4891, allocations: 324.9 kB / 0.7414 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8e-05/0.4892, allocations: 201 kB / 0.7416 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.4893, allocations: 183.8 kB / 0.7418 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.4894, allocations: 102.3 kB / 0.7419 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.4894, allocations: 185.3 kB / 0.7421 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.4894, allocations: 103.8 kB / 0.7422 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001392/0.4896, allocations: 178.1 kB / 0.7424 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.493e-06/0.4896, allocations: 0 / 0.7424 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000255/0.4899, allocations: 26.38 kB / 0.7424 GB, free: 6.098 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.0003503/0.4902, allocations: 0.8246 MB / 0.7432 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.971e-05/0.4903, allocations: 24.62 kB / 0.7432 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4903, allocations: 448 / 0.7432 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.4903, allocations: 4 kB / 0.7432 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.491, allocations: 0.5068 MB / 0.7437 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4927, allocations: 2.054 MB / 0.7457 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.4929, allocations: 0.7141 MB / 0.7464 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.355e-05/0.493, allocations: 18.61 kB / 0.7464 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.4931, allocations: 40.33 kB / 0.7465 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.4931, allocations: 0 / 0.7465 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.5109, allocations: 3.512 MB / 0.7499 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.778/7.289, allocations: 7.422 kB / 0.7499 GB, free: 0.7891 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)