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.001281/0.001281, allocations: 108.3 kB / 16.4 MB, free: 6.445 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.001417/0.001417, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7056/0.7056, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.73 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1613, allocations: 76.18 MB / 0.6316 GB, free: 4.852 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.525/0.6864, allocations: 148 MB / 0.7761 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004862/0.6913, allocations: 4.654 MB / 0.7807 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000301/0.6916, allocations: 12.28 kB / 0.7807 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.6922, allocations: 159.2 kB / 0.7808 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.6925, allocations: 84.39 kB / 0.7809 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.6926, allocations: 68.73 kB / 0.781 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.693, allocations: 304.3 kB / 0.7813 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.6933, allocations: 140.8 kB / 0.7814 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.6935, allocations: 114.5 kB / 0.7815 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.6938, allocations: 157.6 kB / 0.7817 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.6938, allocations: 20.25 kB / 0.7817 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 4.047e-05/0.6939, allocations: 17.5 kB / 0.7817 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.6939, allocations: 63.61 kB / 0.7818 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.6941, allocations: 104.1 kB / 0.7819 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.6943, allocations: 240 kB / 0.7821 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6944, allocations: 2.344 kB / 0.7821 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6944, allocations: 0 / 0.7821 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.6944, allocations: 0 / 0.7821 GB, free: 13.73 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005941/0.695, allocations: 490.9 kB / 0.7826 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.695, allocations: 11.48 kB / 0.7826 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.371e-05/0.6951, allocations: 57.41 kB / 0.7826 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.6952, allocations: 32.16 kB / 0.7827 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.6956, allocations: 271.9 kB / 0.7829 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.6956, allocations: 16.09 kB / 0.7829 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.6956, allocations: 25.52 kB / 0.783 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.6961, allocations: 310.1 kB / 0.7833 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.6961, allocations: 1.312 kB / 0.7833 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.6961, allocations: 12 kB / 0.7833 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.6961, allocations: 5.906 kB / 0.7833 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.6963, allocations: 122 kB / 0.7834 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.6977, allocations: 1.964 MB / 0.7853 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.6979, allocations: 178.2 kB / 0.7855 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.6979, allocations: 81.11 kB / 0.7856 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.6979, allocations: 75.28 kB / 0.7856 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.698, allocations: 108.8 kB / 0.7857 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.698, allocations: 0 / 0.7857 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.463e-05/0.6981, allocations: 57.36 kB / 0.7858 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.6982, allocations: 134.6 kB / 0.7859 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.6986, allocations: 332.9 kB / 0.7862 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.6986, allocations: 25.7 kB / 0.7863 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.6988, allocations: 163.8 kB / 0.7864 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.6988, allocations: 0 / 0.7864 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.6988, allocations: 22.84 kB / 0.7864 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.699, allocations: 332.4 kB / 0.7868 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.6991, allocations: 7.969 kB / 0.7868 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.6991, allocations: 60.23 kB / 0.7868 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.6992, allocations: 72.22 kB / 0.7869 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6992, allocations: 1.625 kB / 0.7869 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000184/0.6994, allocations: 109.8 kB / 0.787 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6994, allocations: 5.438 kB / 0.787 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6995, allocations: 2.688 kB / 0.787 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6995, allocations: 6.531 kB / 0.787 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.6996, allocations: 13.12 kB / 0.787 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6996, allocations: 2.781 kB / 0.787 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.9e-05/0.6997, allocations: 23.03 kB / 0.7871 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.6997, allocations: 5.469 kB / 0.7871 GB, free: 9.68 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.6998, allocations: 218.8 kB / 0.7873 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.6999, allocations: 129.1 kB / 0.7874 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.79e-05/0.7, allocations: 127.5 kB / 0.7875 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.365e-05/0.7001, allocations: 180.2 kB / 0.7877 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.3e-05/0.7001, allocations: 184.2 kB / 0.7879 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-05/0.7002, allocations: 184.2 kB / 0.788 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.7005, allocations: 479.4 kB / 0.7885 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.935e-05/0.7006, allocations: 106 kB / 0.7886 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.7006, allocations: 103.6 kB / 0.7887 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.225e-05/0.7007, allocations: 179.2 kB / 0.7889 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.7008, allocations: 187.5 kB / 0.789 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.916e-05/0.7009, allocations: 177.6 kB / 0.7892 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.355e-05/0.7009, allocations: 189.6 kB / 0.7894 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.7011, allocations: 324.7 kB / 0.7897 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.7012, allocations: 208.6 kB / 0.7899 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.7014, allocations: 183.8 kB / 0.7901 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.7015, allocations: 113.6 kB / 0.7902 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.7017, allocations: 180.2 kB / 0.7904 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.7017, allocations: 103.6 kB / 0.7905 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002308/0.7019, allocations: 240.4 kB / 0.7907 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.72e-07/0.7019, allocations: 0 / 0.7907 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002979/0.7022, allocations: 28.72 kB / 0.7907 GB, free: 6.094 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.0005871/0.7028, allocations: 0.8334 MB / 0.7915 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.703, allocations: 27.64 kB / 0.7916 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.703, allocations: 0 / 0.7916 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.703, allocations: 5.219 kB / 0.7916 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.7037, allocations: 0.5229 MB / 0.7921 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.7063, allocations: 2.502 MB / 0.7945 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.7067, allocations: 0.7399 MB / 0.7952 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.747e-05/0.7068, allocations: 29.38 kB / 0.7953 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.7069, allocations: 61.42 kB / 0.7953 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.7069, allocations: 1.203 kB / 0.7953 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.7287, allocations: 4.867 MB / 0.8001 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/8.224, allocations: 9.859 kB / 0.8001 GB, free: 1.848 MB / 0.5919 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/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)