Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.0008265/0.0008266, allocations: 97.36 kB / 15.69 MB, free: 480 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.0008113/0.0008113, allocations: 176.1 kB / 16.57 MB, free: 6.398 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.178/1.178, allocations: 223.2 MB / 240.5 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6/0.6, allocations: 113.7 MB / 405.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002502, allocations: 8 kB / 493 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 77.11 MB / 0.5567 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3695/0.4876, allocations: 125.4 MB / 0.6791 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003735/0.4914, allocations: 3.968 MB / 0.683 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.4915, allocations: 11.94 kB / 0.683 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.4917, allocations: 51.66 kB / 0.6831 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.492, allocations: 135.6 kB / 0.6832 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.4921, allocations: 43.95 kB / 0.6833 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000355/0.4925, allocations: 243.4 kB / 0.6835 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.4927, allocations: 110.2 kB / 0.6836 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.4928, allocations: 83.64 kB / 0.6837 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.493, allocations: 107.5 kB / 0.6838 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.493, allocations: 8 kB / 0.6838 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.031e-05/0.493, allocations: 8 kB / 0.6838 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.4931, allocations: 47.77 kB / 0.6838 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.4932, allocations: 65.58 kB / 0.6839 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.4933, allocations: 163.1 kB / 0.6841 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.4933, allocations: 0 / 0.6841 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4933, allocations: 0 / 0.6841 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.4933, allocations: 0 / 0.6841 GB, free: 7.258 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000382/0.4937, allocations: 451.8 kB / 0.6845 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4937, allocations: 12.03 kB / 0.6845 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.819e-05/0.4938, allocations: 62.48 kB / 0.6846 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.4939, allocations: 23.72 kB / 0.6846 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.4941, allocations: 259.4 kB / 0.6848 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4942, allocations: 12.44 kB / 0.6848 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.4942, allocations: 20 kB / 0.6849 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.4945, allocations: 300.9 kB / 0.6851 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.4945, allocations: 0 / 0.6851 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.4946, allocations: 12 kB / 0.6852 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.4946, allocations: 8 kB / 0.6852 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.4947, allocations: 128.7 kB / 0.6853 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.4959, allocations: 1.965 MB / 0.6872 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.284e-05/0.496, allocations: 173.1 kB / 0.6874 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.496, allocations: 79.28 kB / 0.6874 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.4961, allocations: 109.8 kB / 0.6876 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4961, allocations: 0 / 0.6876 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.315e-05/0.4961, allocations: 57.41 kB / 0.6876 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.4962, allocations: 126.7 kB / 0.6877 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.4966, allocations: 336.4 kB / 0.688 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.4966, allocations: 29.7 kB / 0.6881 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4967, allocations: 163.7 kB / 0.6882 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.4967, allocations: 0 / 0.6882 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.4967, allocations: 0 / 0.6882 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4969, allocations: 338.8 kB / 0.6886 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.4969, allocations: 4 kB / 0.6886 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.745e-05/0.4969, allocations: 58.86 kB / 0.6886 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.369e-05/0.497, allocations: 12 kB / 0.6886 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.497, allocations: 0 / 0.6886 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00015/0.4971, allocations: 101.3 kB / 0.6887 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.4971, allocations: 4 kB / 0.6887 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4972, allocations: 4 kB / 0.6887 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.4972, allocations: 0 / 0.6887 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.559e-05/0.4972, allocations: 31.81 kB / 0.6888 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.4973, allocations: 4 kB / 0.6888 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.4973, allocations: 28.47 kB / 0.6888 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.4973, allocations: 4 kB / 0.6888 GB, free: 2.043 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.4975, allocations: 217.3 kB / 0.689 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.4975, allocations: 128.6 kB / 0.6891 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.4976, allocations: 125.8 kB / 0.6892 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.453e-05/0.4977, allocations: 180.2 kB / 0.6894 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.343e-05/0.4977, allocations: 192.2 kB / 0.6896 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.209e-05/0.4978, allocations: 180.3 kB / 0.6898 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.4981, allocations: 478.8 kB / 0.6902 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/0.4981, allocations: 105 kB / 0.6903 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.4982, allocations: 101 kB / 0.6904 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-05/0.4982, allocations: 180.2 kB / 0.6906 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.4983, allocations: 176.3 kB / 0.6908 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-05/0.4984, allocations: 188.2 kB / 0.6909 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.896e-05/0.4984, allocations: 184.2 kB / 0.6911 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.4985, allocations: 327.4 kB / 0.6914 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.4987, allocations: 205.8 kB / 0.6916 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.4987, allocations: 188.2 kB / 0.6918 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.4988, allocations: 101 kB / 0.6919 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.4989, allocations: 188.2 kB / 0.6921 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.4989, allocations: 101.8 kB / 0.6922 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002016/0.4991, allocations: 235 kB / 0.6924 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4992, allocations: 0 / 0.6924 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002337/0.4994, allocations: 27.95 kB / 0.6924 GB, free: 14.09 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003608/0.4998, allocations: 0.8334 MB / 0.6932 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.76e-05/0.4998, allocations: 23.92 kB / 0.6933 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4998, allocations: 0.5 kB / 0.6933 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.4999, allocations: 8 kB / 0.6933 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006159/0.5005, allocations: 0.5928 MB / 0.6939 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.5023, allocations: 2.314 MB / 0.6961 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.5026, allocations: 0.7482 MB / 0.6968 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.382e-05/0.5027, allocations: 30.28 kB / 0.6969 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.5028, allocations: 59.42 kB / 0.6969 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.5028, allocations: 0 / 0.6969 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4189/0.9217, allocations: 4.437 MB / 0.7013 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.9219, allocations: 180.9 kB / 0.7014 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.936, allocations: 0 / 0.7014 GB, free: 4.867 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) Environment - environmentSimulation: