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.001053/0.001053, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001089/0.00109, allocations: 193.1 kB / 16.14 MB, free: 6.715 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7516/0.7516, allocations: 132.2 MB / 422.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001124, allocations: 64.38 kB / 0.5012 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3211, allocations: 80.21 MB / 0.5795 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1585/0.4797, allocations: 171.8 MB / 0.7473 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008405/0.4881, allocations: 9.5 MB / 0.7566 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.4884, allocations: 11.94 kB / 0.7566 GB, free: 11.86 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.000586/0.489, allocations: 153.2 kB / 0.7567 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.4893, allocations: 87.44 kB / 0.7568 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.4894, allocations: 55.95 kB / 0.7569 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.4898, allocations: 386.4 kB / 0.7572 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.49, allocations: 141.6 kB / 0.7574 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.4903, allocations: 143.4 kB / 0.7575 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.4905, allocations: 107.4 kB / 0.7576 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.4905, allocations: 12 kB / 0.7576 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.056e-05/0.4905, allocations: 12 kB / 0.7576 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.4906, allocations: 35.86 kB / 0.7577 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.4907, allocations: 95.48 kB / 0.7577 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.4908, allocations: 195.3 kB / 0.7579 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4908, allocations: 0 / 0.7579 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.11e-07/0.4908, allocations: 4 kB / 0.7579 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.4909, allocations: 0 / 0.7579 GB, free: 10.46 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.0003875/0.4912, allocations: 480.2 kB / 0.7584 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.4913, allocations: 15.95 kB / 0.7584 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.4914, allocations: 58.48 kB / 0.7585 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.4914, allocations: 23.81 kB / 0.7585 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.4916, allocations: 250.5 kB / 0.7587 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4916, allocations: 16.44 kB / 0.7587 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.4917, allocations: 20 kB / 0.7588 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.492, allocations: 231.8 kB / 0.759 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.492, allocations: 4 kB / 0.759 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.492, allocations: 8 kB / 0.759 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.492, allocations: 8 kB / 0.759 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.4921, allocations: 87.78 kB / 0.7591 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008622/0.493, allocations: 1.437 MB / 0.7605 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.058e-05/0.4931, allocations: 169.1 kB / 0.7607 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.4931, allocations: 80.14 kB / 0.7607 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4931, allocations: 75.28 kB / 0.7608 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.4932, allocations: 113.8 kB / 0.7609 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4932, allocations: 0 / 0.7609 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.877e-05/0.4933, allocations: 57.34 kB / 0.761 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.4933, allocations: 126.7 kB / 0.7611 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.4936, allocations: 290.9 kB / 0.7614 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.4936, allocations: 25.7 kB / 0.7614 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.4937, allocations: 139.9 kB / 0.7615 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.4937, allocations: 7.984 kB / 0.7615 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.4937, allocations: 17.72 kB / 0.7615 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.4938, allocations: 326.8 kB / 0.7619 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.4939, allocations: 12.09 kB / 0.7619 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.4939, allocations: 27.38 kB / 0.7619 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.93e-05/0.4939, allocations: 35.38 kB / 0.7619 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4939, allocations: 0 / 0.7619 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001181/0.4941, allocations: 73.34 kB / 0.762 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4941, allocations: 9.875 kB / 0.762 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.4941, allocations: 96 / 0.762 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.4941, allocations: 3.984 kB / 0.762 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.4942, allocations: 16.06 kB / 0.762 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4942, allocations: 0 / 0.762 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.149e-05/0.4942, allocations: 31.61 kB / 0.7621 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.4942, allocations: 0 / 0.7621 GB, free: 5.918 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 9.636e-05/0.4943, allocations: 201.1 kB / 0.7622 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.4944, allocations: 124.7 kB / 0.7624 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.017e-05/0.4945, allocations: 121.9 kB / 0.7625 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-05/0.4945, allocations: 184.3 kB / 0.7627 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-05/0.4946, allocations: 180.2 kB / 0.7628 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.724e-05/0.4946, allocations: 184.2 kB / 0.763 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.4949, allocations: 473.1 kB / 0.7635 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/0.4949, allocations: 105 kB / 0.7636 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.4949, allocations: 101 kB / 0.7637 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.975e-05/0.495, allocations: 188.2 kB / 0.7638 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.495, allocations: 180.2 kB / 0.764 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.117e-05/0.4951, allocations: 188.4 kB / 0.7642 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.643e-05/0.4952, allocations: 180.3 kB / 0.7644 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.4953, allocations: 327.5 kB / 0.7647 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.4954, allocations: 197.8 kB / 0.7649 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.981e-05/0.4954, allocations: 184.2 kB / 0.765 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/0.4955, allocations: 109 kB / 0.7651 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.4956, allocations: 184.1 kB / 0.7653 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.4956, allocations: 104.9 kB / 0.7654 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001723/0.4958, allocations: 210 kB / 0.7656 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4958, allocations: 0 / 0.7656 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002392/0.4961, allocations: 28 kB / 0.7656 GB, free: 2.023 MB / 0.5919 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.0003041/0.4964, allocations: 0.8163 MB / 0.7664 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.506e-05/0.4964, allocations: 23.94 kB / 0.7665 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.4964, allocations: 0 / 0.7665 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.4965, allocations: 3.938 kB / 0.7665 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.4972, allocations: 0.6004 MB / 0.767 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.4992, allocations: 2.258 MB / 0.7693 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.4995, allocations: 0.7248 MB / 0.77 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.402e-05/0.4996, allocations: 25.94 kB / 0.77 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.4997, allocations: 55.42 kB / 0.77 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.4997, allocations: 0 / 0.77 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6553/1.155, allocations: 4.377 MB / 0.7743 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/1.155, allocations: 201.5 kB / 0.7745 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/3.266, allocations: 0 / 0.7745 GB, free: 8.895 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 & /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)